From b998964ca78e3d7927c82680c167aebf9cabae73 Mon Sep 17 00:00:00 2001 From: Nick Foster Date: Thu, 1 Sep 2011 12:48:16 -0700 Subject: B100: unshadow dboard clock rates so you can set master freq after init and still tune ok --- host/lib/usrp/b100/clock_ctrl.hpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'host/lib/usrp/b100/clock_ctrl.hpp') diff --git a/host/lib/usrp/b100/clock_ctrl.hpp b/host/lib/usrp/b100/clock_ctrl.hpp index 5ef231281..68c24bdce 100644 --- a/host/lib/usrp/b100/clock_ctrl.hpp +++ b/host/lib/usrp/b100/clock_ctrl.hpp @@ -78,6 +78,18 @@ public: * \throw exception when rate cannot be achieved */ virtual void set_tx_dboard_clock_rate(double rate) = 0; + + /*! + * Get the current rx dboard clock rate. + * \return the clock rate in Hz + */ + virtual double get_rx_clock_rate(void) = 0; + + /*! + * Get the current tx dboard clock rate. + * \return the clock rate in Hz + */ + virtual double get_tx_clock_rate(void) = 0; /*! * Enable/disable the FPGA clock. -- cgit v1.2.3