diff options
author | Josh Blum <josh@joshknows.com> | 2010-10-08 18:04:37 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-10-11 10:12:14 -0700 |
commit | 37f1f1451f65aace9ca978ac3edcaa31d16e8c0d (patch) | |
tree | 0573f4525e022bbdd6be25bb31d1100fbfe455e7 /host/lib/usrp/usrp2/usrp2_regs.hpp | |
parent | 369c0e1dbc1518bd0fe2f81bec5e197d0c3bfe41 (diff) | |
download | uhd-37f1f1451f65aace9ca978ac3edcaa31d16e8c0d.tar.gz uhd-37f1f1451f65aace9ca978ac3edcaa31d16e8c0d.tar.bz2 uhd-37f1f1451f65aace9ca978ac3edcaa31d16e8c0d.zip |
usrp2: add fc control registers, use small timeout for control packets again
Diffstat (limited to 'host/lib/usrp/usrp2/usrp2_regs.hpp')
-rw-r--r-- | host/lib/usrp/usrp2/usrp2_regs.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_regs.hpp b/host/lib/usrp/usrp2/usrp2_regs.hpp index 064ad4e95..bdd5194f9 100644 --- a/host/lib/usrp/usrp2/usrp2_regs.hpp +++ b/host/lib/usrp/usrp2/usrp2_regs.hpp @@ -193,9 +193,14 @@ #define U2_REG_TX_CTRL_CLEAR_STATE _SR_ADDR(SR_TX_CTRL + 1) #define U2_REG_TX_CTRL_REPORT_SID _SR_ADDR(SR_TX_CTRL + 2) #define U2_REG_TX_CTRL_POLICY _SR_ADDR(SR_TX_CTRL + 3) +#define U2_REG_TX_CTRL_CYCLES_PER_ACK _SR_ADDR(SR_TX_CTRL + 4) +#define U2_REG_TX_CTRL_PACKETS_PER_ACK _SR_ADDR(SR_TX_CTRL + 5) #define U2_FLAG_TX_CTRL_POLICY_WAIT (0x1 << 0) #define U2_FLAG_TX_CTRL_POLICY_NEXT_PACKET (0x1 << 1) #define U2_FLAG_TX_CTRL_POLICY_NEXT_BURST (0x1 << 2) +//enable flag for registers: cycles and packets per ack +#define U2_FLAG_TX_CTRL_ACK_ENB (1ul << 31) + #endif /* INCLUDED_USRP2_REGS_HPP */ |