aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/e100/e100_impl.hpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-06-17 06:31:36 +0100
committerJosh Blum <josh@joshknows.com>2011-06-17 06:31:36 +0100
commitc7f848ab0da69e54c88ad36bde94b9fe665f386e (patch)
tree7ec77f5194be8b2dcbe6a649bcad5f8c3f23a8f2 /host/lib/usrp/e100/e100_impl.hpp
parent5bbc3c6282bb73db72d3dd1738aa906a89a6f772 (diff)
downloaduhd-c7f848ab0da69e54c88ad36bde94b9fe665f386e.tar.gz
uhd-c7f848ab0da69e54c88ad36bde94b9fe665f386e.tar.bz2
uhd-c7f848ab0da69e54c88ad36bde94b9fe665f386e.zip
e100: implemented spi, i2c, messages w/ peek/poke
spi and i2c are done w/ polling, but this is ok, the transactions always complete by the first check a gpio is used to wake up poll() and check for messages. messages are read using poke32, unpacked, and enqueued.
Diffstat (limited to 'host/lib/usrp/e100/e100_impl.hpp')
-rw-r--r--host/lib/usrp/e100/e100_impl.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/host/lib/usrp/e100/e100_impl.hpp b/host/lib/usrp/e100/e100_impl.hpp
index 1390559a0..a38c3b5a1 100644
--- a/host/lib/usrp/e100/e100_impl.hpp
+++ b/host/lib/usrp/e100/e100_impl.hpp
@@ -113,11 +113,12 @@ private:
e100_codec_ctrl::sptr _codec_ctrl;
//handle io stuff
- uhd::transport::zero_copy_if::sptr _data_xport;
+ uhd::transport::zero_copy_if::sptr _data_transport;
UHD_PIMPL_DECL(io_impl) _io_impl;
size_t _recv_frame_size, _send_frame_size;
uhd::otw_type_t _send_otw_type, _recv_otw_type;
void io_init(void);
+ void handle_irq(void);
void handle_overrun(size_t);
void update_xport_channel_mapping(void);