From 7a3fb4a527d9bc5861093cf8caac75e5a5195313 Mon Sep 17 00:00:00 2001 From: michael-west Date: Fri, 10 Apr 2015 18:06:54 -0700 Subject: X300: Change dboard clock rate to 50 MHz --- host/lib/usrp/x300/x300_clock_ctrl.hpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'host/lib/usrp/x300/x300_clock_ctrl.hpp') diff --git a/host/lib/usrp/x300/x300_clock_ctrl.hpp b/host/lib/usrp/x300/x300_clock_ctrl.hpp index 40b62b09a..9c08aa356 100644 --- a/host/lib/usrp/x300/x300_clock_ctrl.hpp +++ b/host/lib/usrp/x300/x300_clock_ctrl.hpp @@ -71,11 +71,24 @@ public: */ virtual void set_dboard_rate(const x300_clock_which_t which, double rate) = 0; + /*! Get the clock rate on the given daughterboard clock. + * \throw exception when rate invalid + * \return the clock rate in Hz + */ + virtual double get_dboard_rate(const x300_clock_which_t which) = 0; + /*! Get a list of possible daughterboard clock rates. * \return a list of clock rates in Hz */ virtual std::vector get_dboard_rates(const x300_clock_which_t which) = 0; + /*! Enable or disable daughterboard clock. + * \param which which clock + * \param enable true=enable, false=disable + * \return a list of clock rates in Hz + */ + virtual void enable_dboard_clock(const x300_clock_which_t which, const bool enable) = 0; + /*! Turn the reference output on/off * \param true = on, false = off */ -- cgit v1.2.3