From c7f848ab0da69e54c88ad36bde94b9fe665f386e Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Fri, 17 Jun 2011 06:31:36 +0100 Subject: 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. --- host/lib/usrp/e100/e100_impl.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'host/lib/usrp/e100/e100_impl.hpp') 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); -- cgit v1.2.3