diff options
author | Nicholas Corgan <nick.corgan@ettus.com> | 2012-11-19 12:23:44 -0800 |
---|---|---|
committer | Nicholas Corgan <nick.corgan@ettus.com> | 2012-11-19 12:23:44 -0800 |
commit | 1bf31032162c5fcf83364bb2b94255ed2c739d73 (patch) | |
tree | 02d890d5d22f61121748f1fab14e7f805d3f98d8 /host/lib/usrp/usrp1/usrp1_impl.hpp | |
parent | b65a3924808b48e170042f1f8ca416bd985a852f (diff) | |
parent | eaadc6e89a6bc99e5c1006c7d2aabc1dd7934178 (diff) | |
download | uhd-1bf31032162c5fcf83364bb2b94255ed2c739d73.tar.gz uhd-1bf31032162c5fcf83364bb2b94255ed2c739d73.tar.bz2 uhd-1bf31032162c5fcf83364bb2b94255ed2c739d73.zip |
Merge branch 'maint'
Diffstat (limited to 'host/lib/usrp/usrp1/usrp1_impl.hpp')
-rw-r--r-- | host/lib/usrp/usrp1/usrp1_impl.hpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp1/usrp1_impl.hpp b/host/lib/usrp/usrp1/usrp1_impl.hpp index 9461f0081..0be8ebca9 100644 --- a/host/lib/usrp/usrp1/usrp1_impl.hpp +++ b/host/lib/usrp/usrp1/usrp1_impl.hpp @@ -40,6 +40,25 @@ static const std::string USRP1_EEPROM_MAP_KEY = "B000"; +#define FR_RB_CAPS 3 +#define FR_MODE 13 +#define FR_DEBUG_EN 14 +#define FR_DC_OFFSET_CL_EN 15 +#define FR_ADC_OFFSET_0 16 +#define FR_ADC_OFFSET_1 17 +#define FR_ADC_OFFSET_2 18 +#define FR_ADC_OFFSET_3 19 + +#define I2C_DEV_EEPROM 0x50 +#define I2C_ADDR_BOOT (I2C_DEV_EEPROM | 0x0) +#define I2C_ADDR_TX_A (I2C_DEV_EEPROM | 0x4) +#define I2C_ADDR_RX_A (I2C_DEV_EEPROM | 0x5) +#define I2C_ADDR_TX_B (I2C_DEV_EEPROM | 0x6) +#define I2C_ADDR_RX_B (I2C_DEV_EEPROM | 0x7) + +#define SPI_ENABLE_CODEC_A 0x02 +#define SPI_ENABLE_CODEC_B 0x04 + /*! * USRP1 implementation guts: * The implementation details are encapsulated here. |