aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1/usrp1_impl.hpp
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2012-11-14 14:11:39 -0800
committerNicholas Corgan <nick.corgan@ettus.com>2012-11-16 15:54:09 -0800
commit011f63d19d6c614666ba7ee145b0685d36a8a0de (patch)
tree4efe7d70216ebbed3bb263246d208679d3ddff06 /host/lib/usrp/usrp1/usrp1_impl.hpp
parent80933a5602e5d40e138807124df50a4289fe580f (diff)
downloaduhd-011f63d19d6c614666ba7ee145b0685d36a8a0de.tar.gz
uhd-011f63d19d6c614666ba7ee145b0685d36a8a0de.tar.bz2
uhd-011f63d19d6c614666ba7ee145b0685d36a8a0de.zip
lib/cmake: CPack source work
* Removed all host code dependencies on firmware headers * Put in CMake settings for CPack source
Diffstat (limited to 'host/lib/usrp/usrp1/usrp1_impl.hpp')
-rw-r--r--host/lib/usrp/usrp1/usrp1_impl.hpp19
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 581f4cbdd..d903a18e9 100644
--- a/host/lib/usrp/usrp1/usrp1_impl.hpp
+++ b/host/lib/usrp/usrp1/usrp1_impl.hpp
@@ -38,6 +38,25 @@
#ifndef INCLUDED_USRP1_IMPL_HPP
#define INCLUDED_USRP1_IMPL_HPP
+#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.