diff options
author | Josh Blum <josh@joshknows.com> | 2010-08-24 17:34:24 +0000 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-08-24 17:34:24 +0000 |
commit | e0d55c79f5e61858dbe75ca96abfbd7a6a4e8f97 (patch) | |
tree | 24cc392414a06d822e056baff66f81d41c567fc7 /host/include | |
parent | 038189c02b369788f5fc32ee330b814499cec407 (diff) | |
parent | 48ad3b734314bdec2128dacb20b09fd4cf1f5979 (diff) | |
download | uhd-e0d55c79f5e61858dbe75ca96abfbd7a6a4e8f97.tar.gz uhd-e0d55c79f5e61858dbe75ca96abfbd7a6a4e8f97.tar.bz2 uhd-e0d55c79f5e61858dbe75ca96abfbd7a6a4e8f97.zip |
Merge branch 'master' of ettus.sourcerepo.com:ettus/uhdpriv into usrp_e
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/usrp/dboard_iface.hpp | 8 | ||||
-rw-r--r-- | host/include/uhd/usrp/simple_usrp.hpp | 5 |
2 files changed, 13 insertions, 0 deletions
diff --git a/host/include/uhd/usrp/dboard_iface.hpp b/host/include/uhd/usrp/dboard_iface.hpp index e776ecc42..c7db244f2 100644 --- a/host/include/uhd/usrp/dboard_iface.hpp +++ b/host/include/uhd/usrp/dboard_iface.hpp @@ -148,6 +148,14 @@ public: virtual void write_gpio(unit_t unit, boost::uint16_t value) = 0; /*! + * Setup the GPIO debug mux. + * + * \param unit which unit rx or tx + * \param which which debug: 0, 1 + */ + virtual void set_gpio_debug(unit_t unit, int which) = 0; + + /*! * Read daughterboard GPIO pin values. * * \param unit which unit rx or tx diff --git a/host/include/uhd/usrp/simple_usrp.hpp b/host/include/uhd/usrp/simple_usrp.hpp index 4da63c929..08b9c01ea 100644 --- a/host/include/uhd/usrp/simple_usrp.hpp +++ b/host/include/uhd/usrp/simple_usrp.hpp @@ -25,6 +25,7 @@ #include <uhd/types/clock_config.hpp> #include <uhd/types/tune_result.hpp> #include <uhd/usrp/subdev_spec.hpp> +#include <uhd/usrp/dboard_iface.hpp> #include <boost/shared_ptr.hpp> #include <boost/utility.hpp> #include <vector> @@ -136,6 +137,8 @@ public: */ virtual float read_rssi(void) = 0; + virtual dboard_iface::sptr get_rx_dboard_iface(void) = 0; + /******************************************************************* * TX methods ******************************************************************/ @@ -159,6 +162,8 @@ public: virtual std::vector<std::string> get_tx_antennas(void) = 0; virtual bool get_tx_lo_locked(void) = 0; + + virtual dboard_iface::sptr get_tx_dboard_iface(void) = 0; }; }} |