diff options
author | Josh Blum <josh@joshknows.com> | 2010-06-04 12:32:06 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-06-04 12:32:06 -0700 |
commit | 4f0736ef7ce93d58f0768d99257b2624d5711490 (patch) | |
tree | 7005a25929aa0e6ef27825087a88f1eaa27976d3 /host/lib/usrp/usrp2/clock_ctrl.hpp | |
parent | 89541d92664b98d8763492d4585eb2528df9e1f3 (diff) | |
download | uhd-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.hpp | 6 |
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 */ |