From fc1bffcfd9761c1f60cf322bb58e7f9c8096a5c0 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 27 Jan 2010 00:19:55 -0800 Subject: Added boost system (needed with asio) and date time (will need for threading/sleeping). Added to dboard interface to get clock rates. Added OTHERS properties and some documentation type notes. Added more TODOs to the utils. --- include/usrp_uhd/usrp/dboard/interface.hpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'include/usrp_uhd/usrp') diff --git a/include/usrp_uhd/usrp/dboard/interface.hpp b/include/usrp_uhd/usrp/dboard/interface.hpp index 7af45f7a2..20623ab1a 100644 --- a/include/usrp_uhd/usrp/dboard/interface.hpp +++ b/include/usrp_uhd/usrp/dboard/interface.hpp @@ -134,6 +134,19 @@ public: * \return the data read if sucessful, else a zero length string. */ virtual std::string read_spi(spi_dev_t dev, spi_latch_t latch, size_t len) = 0; + + /*! + * \brief Get the rate of the rx dboard clock. + * \return the clock rate + */ + virtual double get_rx_clock_rate(void) = 0; + + /*! + * \brief Get the rate of the tx dboard clock. + * \return the clock rate + */ + virtual double get_tx_clock_rate(void) = 0; + }; }}} //namespace -- cgit v1.2.3