aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1/usrp1_ctrl.hpp
diff options
context:
space:
mode:
authorNick Foster <nick@nerdnetworks.org>2011-01-17 22:52:41 -0800
committerNick Foster <nick@nerdnetworks.org>2011-01-17 22:52:41 -0800
commit24c3565f9f887045e414652edffd6b5536f8c7a5 (patch)
treea0e40a679d6a029268fc2a328f3643c40a9e880b /host/lib/usrp/usrp1/usrp1_ctrl.hpp
parent330a014dfc32b34a7fe5555d3ae2d87a25dc2466 (diff)
parent37116e6c5be8e2660b9dd165e04ea1af4087f1f0 (diff)
downloaduhd-24c3565f9f887045e414652edffd6b5536f8c7a5.tar.gz
uhd-24c3565f9f887045e414652edffd6b5536f8c7a5.tar.bz2
uhd-24c3565f9f887045e414652edffd6b5536f8c7a5.zip
Merge branch 'next' of ettus.sourcerepo.com:ettus/uhdpriv into next
Diffstat (limited to 'host/lib/usrp/usrp1/usrp1_ctrl.hpp')
-rw-r--r--host/lib/usrp/usrp1/usrp1_ctrl.hpp17
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