From 4f0736ef7ce93d58f0768d99257b2624d5711490 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Fri, 4 Jun 2010 12:32:06 -0700 Subject: move get clock rate into clock control --- host/lib/usrp/usrp2/clock_ctrl.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'host/lib/usrp/usrp2/clock_ctrl.hpp') diff --git a/host/lib/usrp/usrp2/clock_ctrl.hpp b/host/lib/usrp/usrp2/clock_ctrl.hpp index 122b5e633..0ad8d9532 100644 --- a/host/lib/usrp/usrp2/clock_ctrl.hpp +++ b/host/lib/usrp/usrp2/clock_ctrl.hpp @@ -33,6 +33,12 @@ public: */ static sptr make(usrp2_iface::sptr iface); + /*! + * Get the master clock frequency for the fpga. + * \return the clock frequency in Hz + */ + virtual double get_master_clock_rate(void) = 0; + /*! * Enable/disable the rx dboard clock. * \param enb true to enable -- cgit v1.2.3