aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp_e/clock_ctrl.hpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-05-07 21:51:06 +0000
committerJosh Blum <josh@joshknows.com>2010-05-07 21:51:06 +0000
commit6ef09d18def4afdd6413188ab63ee38dbae4e9d8 (patch)
tree65be5da1250e41fcaf34c419605506e68c0e87f5 /host/lib/usrp/usrp_e/clock_ctrl.hpp
parentac17bb0e8a3049944adde0aa5cbdcfb2ea711794 (diff)
downloaduhd-6ef09d18def4afdd6413188ab63ee38dbae4e9d8.tar.gz
uhd-6ef09d18def4afdd6413188ab63ee38dbae4e9d8.tar.bz2
uhd-6ef09d18def4afdd6413188ab63ee38dbae4e9d8.zip
filled in dboard interface with codec and clock control
Diffstat (limited to 'host/lib/usrp/usrp_e/clock_ctrl.hpp')
-rw-r--r--host/lib/usrp/usrp_e/clock_ctrl.hpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp_e/clock_ctrl.hpp b/host/lib/usrp/usrp_e/clock_ctrl.hpp
index d0b896a8f..994b83564 100644
--- a/host/lib/usrp/usrp_e/clock_ctrl.hpp
+++ b/host/lib/usrp/usrp_e/clock_ctrl.hpp
@@ -39,6 +39,24 @@ public:
static sptr make(usrp_e_iface::sptr iface);
/*!
+ * Get the rate of the fpga clock line.
+ * \return the fpga clock rate in Hz
+ */
+ virtual double get_fpga_clock_rate(void) = 0;
+
+ /*!
+ * Get the rate of the dboard clock clock line.
+ * \return the dboard clock rate in Hz
+ */
+ virtual double get_rx_dboard_clock_rate(void) = 0;
+
+ /*!
+ * Get the rate of the dboard clock clock line.
+ * \return the dboard clock rate in Hz
+ */
+ virtual double get_tx_dboard_clock_rate(void) = 0;
+
+ /*!
* Enable/disable the rx dboard clock.
* \param enb true to enable
*/