aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/e300/e300_regs.hpp
diff options
context:
space:
mode:
authorTrung N Tran <trung.tran@ettus.com>2018-06-25 14:06:18 -0700
committerMartin Braun <martin.braun@ettus.com>2018-06-29 14:20:44 -0700
commitba5722f6133f9051a999cbba3ba13a4ee56f63c8 (patch)
treeab0995ce02e0b298882dae2408fc7fbf7808b8be /host/lib/usrp/e300/e300_regs.hpp
parentf5119fb5f0103dfb4bd9871915c44dd855a08b91 (diff)
downloaduhd-ba5722f6133f9051a999cbba3ba13a4ee56f63c8.tar.gz
uhd-ba5722f6133f9051a999cbba3ba13a4ee56f63c8.tar.bz2
uhd-ba5722f6133f9051a999cbba3ba13a4ee56f63c8.zip
e300: merge files from rfnoc-devel
This disables the ability to do "network mode" on the E310.
Diffstat (limited to 'host/lib/usrp/e300/e300_regs.hpp')
-rw-r--r--host/lib/usrp/e300/e300_regs.hpp66
1 files changed, 10 insertions, 56 deletions
diff --git a/host/lib/usrp/e300/e300_regs.hpp b/host/lib/usrp/e300/e300_regs.hpp
index 37d3cb7c4..88d58907b 100644
--- a/host/lib/usrp/e300/e300_regs.hpp
+++ b/host/lib/usrp/e300/e300_regs.hpp
@@ -11,61 +11,15 @@
#include <stdint.h>
#include <uhd/config.hpp>
-namespace uhd { namespace usrp { namespace e300 { namespace radio {
-
-static UHD_INLINE uint32_t sr_addr(const uint32_t offset)
-{
- return offset * 4;
-}
-
-static const uint32_t DACSYNC = 5;
-static const uint32_t LOOPBACK = 6;
-static const uint32_t TEST = 7;
-static const uint32_t SPI = 8;
-static const uint32_t GPIO = 16;
-static const uint32_t MISC_OUTS = 24;
-static const uint32_t READBACK = 32;
-static const uint32_t TX_CTRL = 64;
-static const uint32_t RX_CTRL = 96;
-static const uint32_t TIME = 128;
-static const uint32_t RX_DSP = 144;
-static const uint32_t TX_DSP = 184;
-static const uint32_t LEDS = 195;
-static const uint32_t FP_GPIO = 201;
-static const uint32_t RX_FRONT = 208;
-static const uint32_t TX_FRONT = 216;
-static const uint32_t CODEC_IDLE = 250;
-
-static const uint32_t RB32_GPIO = 0;
-static const uint32_t RB32_SPI = 4;
-static const uint32_t RB64_TIME_NOW = 8;
-static const uint32_t RB64_TIME_PPS = 16;
-static const uint32_t RB32_TEST = 24;
-static const uint32_t RB32_RX = 28;
-static const uint32_t RB32_FP_GPIO = 32;
-static const uint32_t RB32_MISC_INS = 36;
-static const uint32_t RB64_CODEC_READBACK = 40;
-static const uint32_t RB32_RADIO_NUM = 48;
-
-}}}} // namespace
-
-#define localparam static const int
-
-localparam ST_RX_ENABLE = 20;
-localparam ST_TX_ENABLE = 19;
-
-localparam LED_TXRX_TX = 18;
-localparam LED_TXRX_RX = 17;
-localparam LED_RX_RX = 16;
-localparam VCRX_V2 = 15;
-localparam VCRX_V1 = 14;
-localparam VCTXRX_V2 = 13;
-localparam VCTXRX_V1 = 12;
-localparam TX_ENABLEB = 11;
-localparam TX_ENABLEA = 10;
-localparam RXC_BANDSEL = 8;
-localparam RXB_BANDSEL = 6;
-localparam RX_BANDSEL = 3;
-localparam TX_BANDSEL = 0;
+static const uint32_t VCRX_V2 = 15;
+static const uint32_t VCRX_V1 = 14;
+static const uint32_t VCTXRX_V2 = 13;
+static const uint32_t VCTXRX_V1 = 12;
+static const uint32_t TX_ENABLEB = 11;
+static const uint32_t TX_ENABLEA = 10;
+static const uint32_t RXC_BANDSEL = 8;
+static const uint32_t RXB_BANDSEL = 6;
+static const uint32_t RX_BANDSEL = 3;
+static const uint32_t TX_BANDSEL = 0;
#endif /* INCLUDED_E300_REGS_HPP */