diff options
Diffstat (limited to 'include/APE_TX_PORT2.h')
-rw-r--r-- | include/APE_TX_PORT2.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/APE_TX_PORT2.h b/include/APE_TX_PORT2.h index 28c2333..d37310c 100644 --- a/include/APE_TX_PORT2.h +++ b/include/APE_TX_PORT2.h @@ -82,11 +82,16 @@ typedef uint32_t APE_TX_PORT2_H_uint32_t; #define REG_TX_PORT2_BASE ((volatile void*)0xa0024000) /* TX to network port, function 2 */ #define REG_TX_PORT2_SIZE (sizeof(TX_PORT_t)) -#define REG_TX_PORT2_OUT ((volatile APE_TX_PORT2_H_uint32_t*)0xa0024000) /* This is the memory range into which frames are directed towards the network byte the APE firmware. */ +#define REG_TX_PORT2_OUT ((volatile APE_TX_PORT2_H_uint32_t*)0xa0024000) /* This is the memory range into which frames are directed towards the network by the APE firmware. */ #define TX_PORT2_OUT_ALL_SHIFT 0u #define TX_PORT2_OUT_ALL_MASK 0xffffffffu #define GET_TX_PORT2_OUT_ALL(__reg__) (((__reg__) & 0xffffffff) >> 0u) #define SET_TX_PORT2_OUT_ALL(__val__) (((__val__) << 0u) & 0xffffffffu) +#define TX_PORT2_OUT_ALL_CONTROL_WORD 0x0u +#define TX_PORT2_OUT_ALL_ADDITIONAL_PAYLOAD_WORD 0x2u +#define TX_PORT2_OUT_ALL_FRAME_LEN_WORD 0x3u +#define TX_PORT2_OUT_ALL_NUM_BLOCKS_WORD 0x9u +#define TX_PORT2_OUT_ALL_FIRST_PAYLOAD_WORD 0xcu #define TX_PORT2_OUT_ALL_BLOCK_WORDS 0x20u #define TX_PORT2_OUT_ALL_BLOCK_BYTES 0x80u |