aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/clock_ctrl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-06-11 19:08:58 -0700
committerJosh Blum <josh@joshknows.com>2010-06-17 11:36:14 -0700
commit7aeb266783f3cda158762f8a8619fd512024acc4 (patch)
tree90cb9e81f32b80f7d47dd50b95f0025ff0cff3e3 /host/lib/usrp/usrp2/clock_ctrl.cpp
parent1db016bc6503cdca76025f131773e550bd895d48 (diff)
downloaduhd-7aeb266783f3cda158762f8a8619fd512024acc4.tar.gz
uhd-7aeb266783f3cda158762f8a8619fd512024acc4.tar.bz2
uhd-7aeb266783f3cda158762f8a8619fd512024acc4.zip
added set clock rate, and get clock rates to dboard iface, usrp2 needs clock ctrl implementation...
Diffstat (limited to 'host/lib/usrp/usrp2/clock_ctrl.cpp')
-rw-r--r--host/lib/usrp/usrp2/clock_ctrl.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp2/clock_ctrl.cpp b/host/lib/usrp/usrp2/clock_ctrl.cpp
index d9baa66cf..783fb9b21 100644
--- a/host/lib/usrp/usrp2/clock_ctrl.cpp
+++ b/host/lib/usrp/usrp2/clock_ctrl.cpp
@@ -85,6 +85,14 @@ public:
this->update_regs();
}
+ void set_rate_rx_dboard_clock(double rate){
+ //TODO
+ }
+
+ std::vector<double> get_rates_rx_dboard_clock(void){
+ //TODO
+ }
+
//uses output clock 6 (cmos)
void enable_tx_dboard_clock(bool enb){
_ad9510_regs.power_down_lvds_cmos_out6 = enb? 0 : 1;
@@ -96,6 +104,14 @@ public:
this->update_regs();
}
+ void set_rate_tx_dboard_clock(double rate){
+ //TODO
+ }
+
+ std::vector<double> get_rates_tx_dboard_clock(void){
+ //TODO
+ }
+
/*!
* If we are to use an external reference, enable the charge pump.
* \param enb true to enable the CP