diff options
author | Josh Blum <josh@joshknows.com> | 2010-08-23 19:06:35 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-08-23 19:06:35 -0700 |
commit | 48ad3b734314bdec2128dacb20b09fd4cf1f5979 (patch) | |
tree | f97d7028b7f0ec14353e4f5e75cf7df16aa7bb11 /host/lib/usrp/simple_usrp.cpp | |
parent | 4ecc24d09415d7c0a1c3f2383b6adec08105c571 (diff) | |
download | uhd-48ad3b734314bdec2128dacb20b09fd4cf1f5979.tar.gz uhd-48ad3b734314bdec2128dacb20b09fd4cf1f5979.tar.bz2 uhd-48ad3b734314bdec2128dacb20b09fd4cf1f5979.zip |
usrp: added get dboard iface to simple wrapper, and set gpio debug to dboard iface
Diffstat (limited to 'host/lib/usrp/simple_usrp.cpp')
-rw-r--r-- | host/lib/usrp/simple_usrp.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/host/lib/usrp/simple_usrp.cpp b/host/lib/usrp/simple_usrp.cpp index 60b25a647..e573d0fc0 100644 --- a/host/lib/usrp/simple_usrp.cpp +++ b/host/lib/usrp/simple_usrp.cpp @@ -168,6 +168,10 @@ public: return _rx_subdev()[SUBDEV_PROP_RSSI].as<float>(); } + dboard_iface::sptr get_rx_dboard_iface(void){ + return _rx_dboard()[DBOARD_PROP_DBOARD_IFACE].as<dboard_iface::sptr>(); + } + /******************************************************************* * TX methods ******************************************************************/ @@ -232,6 +236,10 @@ public: return _tx_subdev()[SUBDEV_PROP_LO_LOCKED].as<bool>(); } + dboard_iface::sptr get_tx_dboard_iface(void){ + return _tx_dboard()[DBOARD_PROP_DBOARD_IFACE].as<dboard_iface::sptr>(); + } + private: device::sptr _dev; wax::obj _mboard(void){ |