summaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-07-07 11:11:28 -0700
committerJosh Blum <josh@joshknows.com>2010-07-07 11:11:28 -0700
commitc48f029971a879b367e8876351b4795d90346208 (patch)
tree46bdb12009a30f91858821842e1f5f85a36801e9 /host/lib
parentc36a671dc8b6f89789e92ab93c677156c3bdc190 (diff)
downloaduhd-c48f029971a879b367e8876351b4795d90346208.tar.gz
uhd-c48f029971a879b367e8876351b4795d90346208.tar.bz2
uhd-c48f029971a879b367e8876351b4795d90346208.zip
uhd: added single rate option to benchmark example
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/usrp/usrp2/usrp2_regs.hpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_regs.hpp b/host/lib/usrp/usrp2/usrp2_regs.hpp
index c859d3603..1a5864c85 100644
--- a/host/lib/usrp/usrp2/usrp2_regs.hpp
+++ b/host/lib/usrp/usrp2/usrp2_regs.hpp
@@ -241,9 +241,4 @@
#define U2_REG_RX_CTRL_NSAMPS_PER_PKT _SR_ADDR(SR_RX_CTRL + 7)
#define U2_REG_RX_CTRL_NCHANNELS _SR_ADDR(SR_RX_CTRL + 8) // 1 in basic case, up to 4 for vector sources
-//helpful macros for dealing with stream cmd
-#define U2_REG_RX_CTRL_MAX_SAMPS_PER_CMD 0x1fffffff
-#define U2_REG_RX_CTRL_MAKE_CMD(nsamples, now, chain, reload) \
- ((((now) & 0x1) << 31) | (((chain) & 0x1) << 30) | (((reload) & 0x1) << 29) | ((nsamples) & 0x1fffffff))
-
#endif /* INCLUDED_USRP2_REGS_HPP */