aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp_e100/usrp_e100_iface.hpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-11-10 16:48:02 -0800
committerJosh Blum <josh@joshknows.com>2010-11-10 16:48:02 -0800
commita724f4b7262c6da6d24dccdbd64e08da61cb87fc (patch)
tree6141d1215d36fc94d1deef0ec26d9ef532ea2e30 /host/lib/usrp/usrp_e100/usrp_e100_iface.hpp
parent123de6dad521ca3dbc44a5d9fc70ff754f1196e3 (diff)
downloaduhd-a724f4b7262c6da6d24dccdbd64e08da61cb87fc.tar.gz
uhd-a724f4b7262c6da6d24dccdbd64e08da61cb87fc.tar.bz2
uhd-a724f4b7262c6da6d24dccdbd64e08da61cb87fc.zip
usrp-e100: implemented wrapper for i2c device node + ioctls, implemented e100 eeprom map
Diffstat (limited to 'host/lib/usrp/usrp_e100/usrp_e100_iface.hpp')
-rw-r--r--host/lib/usrp/usrp_e100/usrp_e100_iface.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp_e100/usrp_e100_iface.hpp b/host/lib/usrp/usrp_e100/usrp_e100_iface.hpp
index b52209a42..12283fb52 100644
--- a/host/lib/usrp/usrp_e100/usrp_e100_iface.hpp
+++ b/host/lib/usrp/usrp_e100/usrp_e100_iface.hpp
@@ -19,6 +19,7 @@
#define INCLUDED_USRP_E100_IFACE_HPP
#include <uhd/transport/udp_simple.hpp>
+#include <uhd/usrp/mboard_eeprom.hpp>
#include <uhd/types/serial.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/utility.hpp>
@@ -63,6 +64,9 @@ public:
*/
virtual void ioctl(int request, void *mem) = 0;
+ //! Get the I2C interface for the I2C device node
+ virtual uhd::i2c_iface &get_i2c_dev_iface(void) = 0;
+
/*!
* Write a register (32 bits)
* \param addr the address
@@ -107,6 +111,9 @@ public:
size_t num_bits,
bool readback
) = 0;
+
+ //motherboard eeprom map structure
+ uhd::usrp::mboard_eeprom_t mb_eeprom;
};
#endif /* INCLUDED_USRP_E100_IFACE_HPP */