aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/clock_ctrl.hpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-06-04 12:32:06 -0700
committerJosh Blum <josh@joshknows.com>2010-06-04 12:32:06 -0700
commit4f0736ef7ce93d58f0768d99257b2624d5711490 (patch)
tree7005a25929aa0e6ef27825087a88f1eaa27976d3 /host/lib/usrp/usrp2/clock_ctrl.hpp
parent89541d92664b98d8763492d4585eb2528df9e1f3 (diff)
downloaduhd-4f0736ef7ce93d58f0768d99257b2624d5711490.tar.gz
uhd-4f0736ef7ce93d58f0768d99257b2624d5711490.tar.bz2
uhd-4f0736ef7ce93d58f0768d99257b2624d5711490.zip
move get clock rate into clock control
Diffstat (limited to 'host/lib/usrp/usrp2/clock_ctrl.hpp')
-rw-r--r--host/lib/usrp/usrp2/clock_ctrl.hpp6
1 files changed, 6 insertions, 0 deletions
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
@@ -34,6 +34,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
*/