aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1/usrp1_ctrl.hpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-01-17 15:21:11 -0800
committerJosh Blum <josh@joshknows.com>2011-01-17 15:21:11 -0800
commit7e1d02710090c2c1aac971e41a2abb6f68c37d12 (patch)
tree9c3261ac3eebde988030a80f976e68d49516ac65 /host/lib/usrp/usrp1/usrp1_ctrl.hpp
parentcaa911aa270ee4aef7244f3159b9fd402a454069 (diff)
parentd71344091b324266975b58ec075d896fcb79aeb9 (diff)
downloaduhd-7e1d02710090c2c1aac971e41a2abb6f68c37d12.tar.gz
uhd-7e1d02710090c2c1aac971e41a2abb6f68c37d12.tar.bz2
uhd-7e1d02710090c2c1aac971e41a2abb6f68c37d12.zip
Merge branch 'usrp1' 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