aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp_e100/clock_ctrl.hpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-04-07 15:46:31 -0500
committerJosh Blum <josh@joshknows.com>2011-04-07 15:46:31 -0500
commitee705a42fb41bf92529a02c3087167e71d5e2630 (patch)
tree00211004a7d1b61e4c02489da8dde8787bcd130a /host/lib/usrp/usrp_e100/clock_ctrl.hpp
parentf0a2601d456ba4b5a75a7f0c9d21d2ab517dacec (diff)
downloaduhd-ee705a42fb41bf92529a02c3087167e71d5e2630.tar.gz
uhd-ee705a42fb41bf92529a02c3087167e71d5e2630.tar.bz2
uhd-ee705a42fb41bf92529a02c3087167e71d5e2630.zip
usrp-e100: reset dboard clocks on rate change, and dont cache in dboard iface
Diffstat (limited to 'host/lib/usrp/usrp_e100/clock_ctrl.hpp')
-rw-r--r--host/lib/usrp/usrp_e100/clock_ctrl.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp_e100/clock_ctrl.hpp b/host/lib/usrp/usrp_e100/clock_ctrl.hpp
index 623fbc73b..507f914f3 100644
--- a/host/lib/usrp/usrp_e100/clock_ctrl.hpp
+++ b/host/lib/usrp/usrp_e100/clock_ctrl.hpp
@@ -79,6 +79,18 @@ public:
virtual void set_tx_dboard_clock_rate(double rate) = 0;
/*!
+ * Get the current rx dboard clock rate.
+ * \return the clock rate in Hz
+ */
+ virtual double get_rx_clock_rate(void) = 0;
+
+ /*!
+ * Get the current tx dboard clock rate.
+ * \return the clock rate in Hz
+ */
+ virtual double get_tx_clock_rate(void) = 0;
+
+ /*!
* Enable/disable the rx dboard clock.
* \param enb true to enable
*/