From 625d5605dd157f9cf6f1d96e60a4d8d051817aef Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Mon, 31 Jan 2011 16:29:12 -0800 Subject: usrp: added set and get master clock rates to usrp API implemented set and get rates in usrp1 (its all soft) implemented set and get rates in usrp2 (only 100MHz) --- host/lib/usrp/usrp1/clock_ctrl.hpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'host/lib/usrp/usrp1/clock_ctrl.hpp') diff --git a/host/lib/usrp/usrp1/clock_ctrl.hpp b/host/lib/usrp/usrp1/clock_ctrl.hpp index 366869dab..645472f02 100644 --- a/host/lib/usrp/usrp1/clock_ctrl.hpp +++ b/host/lib/usrp/usrp1/clock_ctrl.hpp @@ -39,6 +39,13 @@ public: */ static sptr make(usrp1_iface::sptr iface); + /*! + * Set the rate of the fpga clock line. + * Note: does not really set, its all software. + * \param freq the new clock rate in Hz + */ + virtual void set_master_clock_freq(double freq) = 0; + /*! * Get the rate of the fpga clock line. * \return the fpga clock rate in Hz -- cgit v1.2.3