diff options
author | Nick Foster <nick@nerdnetworks.org> | 2010-08-12 16:27:57 -0700 |
---|---|---|
committer | Nick Foster <nick@nerdnetworks.org> | 2010-08-12 16:27:57 -0700 |
commit | e2fcb815141b05205ea9334e2db78f9ceffa62c3 (patch) | |
tree | c62320e4822a6fa6e63f8f614d6ac73743052df6 /host/lib/usrp/usrp2/usrp2_iface.hpp | |
parent | e42230e7fae59d91186d21ab6ba8311421649375 (diff) | |
download | uhd-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.hpp | 4 |
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 |