aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/usrp2_regs.hpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-03-15 19:18:32 -0700
committerJosh Blum <josh@joshknows.com>2011-03-15 19:18:32 -0700
commit2f12295f26f14b7403da68a864124f93154c3b0f (patch)
tree287dc3d6e65c80f0e597d754a023e7b8feaa9631 /host/lib/usrp/usrp2/usrp2_regs.hpp
parentd47bc1e06c19e6abeb37595fe7e52f0be671115c (diff)
downloaduhd-2f12295f26f14b7403da68a864124f93154c3b0f.tar.gz
uhd-2f12295f26f14b7403da68a864124f93154c3b0f.tar.bz2
uhd-2f12295f26f14b7403da68a864124f93154c3b0f.zip
usrp2: moved sregs in host code, simplfy reg struct a little
Diffstat (limited to 'host/lib/usrp/usrp2/usrp2_regs.hpp')
-rw-r--r--host/lib/usrp/usrp2/usrp2_regs.hpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_regs.hpp b/host/lib/usrp/usrp2/usrp2_regs.hpp
index 01f5ee65a..e7803d9ee 100644
--- a/host/lib/usrp/usrp2/usrp2_regs.hpp
+++ b/host/lib/usrp/usrp2/usrp2_regs.hpp
@@ -18,33 +18,7 @@
#ifndef INCLUDED_USRP2_REGS_HPP
#define INCLUDED_USRP2_REGS_HPP
-#include <boost/cstdint.hpp>
-
-#define USRP2_MISC_OUTPUT_BASE 0xD400
-#define USRP2_GPIO_BASE 0xC800
-#define USRP2_ATR_BASE 0xE400
-#define USRP2_BP_STATUS_BASE 0xCC00
-
-#define USRP2P_MISC_OUTPUT_BASE 0x5000
-#define USRP2P_GPIO_BASE 0x6200
-#define USRP2P_ATR_BASE 0x6800
-#define USRP2P_BP_STATUS_BASE 0x6300
-
typedef struct {
- int sr_misc;
- int sr_tx_prot_eng;
- int sr_rx_prot_eng;
- int sr_buffer_pool_ctrl;
- int sr_udp_sm;
- int sr_tx_dsp;
- int sr_tx_ctrl;
- int sr_rx_dsp0;
- int sr_rx_ctrl0;
- int sr_rx_dsp1;
- int sr_rx_ctrl1;
- int sr_time64;
- int sr_simtimer;
- int sr_last;
int misc_ctrl_clock;
int misc_ctrl_serdes;
int misc_ctrl_adc;