aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp_e/usrp_e_iface.hpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-05-03 11:30:17 +0000
committerJosh Blum <josh@joshknows.com>2010-05-03 11:30:17 +0000
commit2e222f4a77df389551d08b42a1bf947487d1442f (patch)
treee2c9018e3471591e0a912955a16a030d59f808bd /host/lib/usrp/usrp_e/usrp_e_iface.hpp
parentf92582169e35f96a945f745ce46326230b25888d (diff)
downloaduhd-2e222f4a77df389551d08b42a1bf947487d1442f.tar.gz
uhd-2e222f4a77df389551d08b42a1bf947487d1442f.tar.bz2
uhd-2e222f4a77df389551d08b42a1bf947487d1442f.zip
spi working, talked to ad9522
Diffstat (limited to 'host/lib/usrp/usrp_e/usrp_e_iface.hpp')
-rw-r--r--host/lib/usrp/usrp_e/usrp_e_iface.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp_e/usrp_e_iface.hpp b/host/lib/usrp/usrp_e/usrp_e_iface.hpp
index 763d19581..016d7448f 100644
--- a/host/lib/usrp/usrp_e/usrp_e_iface.hpp
+++ b/host/lib/usrp/usrp_e/usrp_e_iface.hpp
@@ -24,6 +24,15 @@
#include <boost/utility.hpp>
#include <boost/cstdint.hpp>
+////////////////////////////////////////////////////////////////////////
+// I2C addresses
+////////////////////////////////////////////////////////////////////////
+#define I2C_DEV_EEPROM 0x50 // 24LC02[45]: 7-bits 1010xxx
+#define I2C_ADDR_MBOARD (I2C_DEV_EEPROM | 0x0)
+#define I2C_ADDR_TX_DB (I2C_DEV_EEPROM | 0x4)
+#define I2C_ADDR_RX_DB (I2C_DEV_EEPROM | 0x5)
+////////////////////////////////////////////////////////////////////////
+
/*!
* The usrp-e interface class:
* Provides a set of functions to implementation layer.