summaryrefslogtreecommitdiffstats
path: root/host/lib/usrp
diff options
context:
space:
mode:
authorNick Foster <nick@nerdnetworks.org>2010-07-27 17:46:08 -0700
committerNick Foster <nick@nerdnetworks.org>2010-07-27 17:46:08 -0700
commit41a36699e6e5f892a19586cde1b72fa6767c2888 (patch)
tree95c5cfaffa48391bee95744bddc91e142c898272 /host/lib/usrp
parentc08674e26bfb456242efd90b5c7d32b8d6179c64 (diff)
downloaduhd-41a36699e6e5f892a19586cde1b72fa6767c2888.tar.gz
uhd-41a36699e6e5f892a19586cde1b72fa6767c2888.tar.bz2
uhd-41a36699e6e5f892a19586cde1b72fa6767c2888.zip
Interface access methods for users to access dboards.
Diffstat (limited to 'host/lib/usrp')
-rw-r--r--host/lib/usrp/simple_usrp.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/host/lib/usrp/simple_usrp.cpp b/host/lib/usrp/simple_usrp.cpp
index 704232782..a8c20c439 100644
--- a/host/lib/usrp/simple_usrp.cpp
+++ b/host/lib/usrp/simple_usrp.cpp
@@ -228,6 +228,18 @@ public:
return _tx_subdev[SUBDEV_PROP_LO_LOCKED].as<bool>();
}
+ /*******************************************************************
+ * Interface access methods
+ ******************************************************************/
+
+ wax::obj get_rx_dboard_iface(void) {
+ return _rx_dboard;
+ }
+
+ wax::obj get_tx_dboard_iface(void) {
+ return _tx_dboard;
+ }
+
private:
device::sptr _dev;
wax::obj _mboard;