From 7aeb266783f3cda158762f8a8619fd512024acc4 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Fri, 11 Jun 2010 19:08:58 -0700 Subject: added set clock rate, and get clock rates to dboard iface, usrp2 needs clock ctrl implementation... --- host/lib/usrp/usrp2/clock_ctrl.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'host/lib/usrp/usrp2/clock_ctrl.cpp') 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 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 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 -- cgit v1.2.3