diff options
author | Josh Blum <josh@joshknows.com> | 2010-04-01 17:32:43 +0000 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-04-01 17:32:43 +0000 |
commit | bcd80dae09776eddaf4fdf9c6fb925c0b2586a11 (patch) | |
tree | f6f3cc5b8ce4a59f0238c87c1e213b82f1d3c555 /host/lib/usrp/usrp_e/usrp_e_impl.hpp | |
parent | 8fd3ce07369a7962dc8eb5ace2007a80ad7dd907 (diff) | |
download | uhd-bcd80dae09776eddaf4fdf9c6fb925c0b2586a11.tar.gz uhd-bcd80dae09776eddaf4fdf9c6fb925c0b2586a11.tar.bz2 uhd-bcd80dae09776eddaf4fdf9c6fb925c0b2586a11.zip |
added peek and poke, using in dboard interface
Diffstat (limited to 'host/lib/usrp/usrp_e/usrp_e_impl.hpp')
-rw-r--r-- | host/lib/usrp/usrp_e/usrp_e_impl.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp_e/usrp_e_impl.hpp b/host/lib/usrp/usrp_e/usrp_e_impl.hpp index 643589754..21023ae55 100644 --- a/host/lib/usrp/usrp_e/usrp_e_impl.hpp +++ b/host/lib/usrp/usrp_e/usrp_e_impl.hpp @@ -92,6 +92,12 @@ public: */ void ioctl(int request, void *mem); + //peekers and pokers + void poke32(boost::uint32_t addr, boost::uint32_t value); + void poke16(boost::uint32_t addr, boost::uint16_t value); + boost::uint32_t peek32(boost::uint32_t addr); + boost::uint16_t peek16(boost::uint32_t addr); + private: static const size_t _max_num_samples = 2048/sizeof(boost::uint32_t); int _node_fd; |