aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/usrp2_iface.hpp
diff options
context:
space:
mode:
authorNick Foster <nick@nerdnetworks.org>2010-08-12 16:27:57 -0700
committerNick Foster <nick@nerdnetworks.org>2010-08-12 16:27:57 -0700
commite2fcb815141b05205ea9334e2db78f9ceffa62c3 (patch)
treec62320e4822a6fa6e63f8f614d6ac73743052df6 /host/lib/usrp/usrp2/usrp2_iface.hpp
parente42230e7fae59d91186d21ab6ba8311421649375 (diff)
downloaduhd-e2fcb815141b05205ea9334e2db78f9ceffa62c3.tar.gz
uhd-e2fcb815141b05205ea9334e2db78f9ceffa62c3.tar.bz2
uhd-e2fcb815141b05205ea9334e2db78f9ceffa62c3.zip
Added host-side support for UART messaging.
Have not yet added GPS control library. Debug crap in mboard_impl.cpp constructor.
Diffstat (limited to 'host/lib/usrp/usrp2/usrp2_iface.hpp')
-rw-r--r--host/lib/usrp/usrp2/usrp2_iface.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_iface.hpp b/host/lib/usrp/usrp2/usrp2_iface.hpp
index b9f5f0fb8..522beadfb 100644
--- a/host/lib/usrp/usrp2/usrp2_iface.hpp
+++ b/host/lib/usrp/usrp2/usrp2_iface.hpp
@@ -104,6 +104,10 @@ public:
bool readback
) = 0;
+ virtual void write_uart(boost::uint8_t dev, const uhd::byte_vector_t &buf) = 0;
+
+ virtual uhd::byte_vector_t read_uart(boost::uint8_t dev, size_t num_bytes) = 0;
+
/*!
* Set the hardware revision number. Also selects the proper register set for the device.
* \param rev the 16-bit revision