diff options
author | Josh Blum <josh@joshknows.com> | 2011-01-17 15:18:46 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-01-17 15:18:46 -0800 |
commit | d71344091b324266975b58ec075d896fcb79aeb9 (patch) | |
tree | 33f2204ece9261f63ebe3a68c1d1d0f0faf2a307 /host/lib/usrp/usrp1/usrp1_ctrl.hpp | |
parent | 81dc70a6217f3d35dcf477a44c0151a6bc56e5a9 (diff) | |
download | uhd-d71344091b324266975b58ec075d896fcb79aeb9.tar.gz uhd-d71344091b324266975b58ec075d896fcb79aeb9.tar.bz2 uhd-d71344091b324266975b58ec075d896fcb79aeb9.zip |
usrp1: work on usrp1 hardware compat with the api
today we added shutoff the DAC when not transmitting using EOB as an indicator
added various other features and cleaned up code for soft time control
Diffstat (limited to 'host/lib/usrp/usrp1/usrp1_ctrl.hpp')
-rw-r--r-- | host/lib/usrp/usrp1/usrp1_ctrl.hpp | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/host/lib/usrp/usrp1/usrp1_ctrl.hpp b/host/lib/usrp/usrp1/usrp1_ctrl.hpp index a02d9f96c..8ccfacab7 100644 --- a/host/lib/usrp/usrp1/usrp1_ctrl.hpp +++ b/host/lib/usrp/usrp1/usrp1_ctrl.hpp @@ -33,6 +33,9 @@ public: */ static sptr make(uhd::transport::usb_control::sptr ctrl_transport); + //! Call init after the fpga is loaded + virtual void usrp_init(void) = 0; + /*! * Load firmware in Intel HEX Format onto device * \param filename name of firmware file @@ -93,20 +96,6 @@ public: virtual int usrp_set_fpga_hash(size_t hash) = 0; /*! - * Set rx enable or disable - * \param on enable or disable value - * \return 0 on success, error code otherwise - */ - virtual int usrp_rx_enable(bool on) = 0; - - /*! - * Set rx enable or disable - * \param on enable or disable value - * \return 0 on success, error code otherwise - */ - virtual int usrp_tx_enable(bool on) = 0; - - /*! * Submit an IN transfer * \param request device specific request * \param value device specific field |