summaryrefslogtreecommitdiffstats
path: root/include/APE_TX_PORT.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/APE_TX_PORT.h')
-rw-r--r--include/APE_TX_PORT.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/APE_TX_PORT.h b/include/APE_TX_PORT.h
index 91520de..33a127d 100644
--- a/include/APE_TX_PORT.h
+++ b/include/APE_TX_PORT.h
@@ -81,11 +81,16 @@ typedef uint32_t APE_TX_PORT_H_uint32_t;
#define REG_TX_PORT_BASE ((volatile void*)0xa0020000) /* TX to network port, function 0 */
#define REG_TX_PORT_SIZE (sizeof(TX_PORT_t))
-#define REG_TX_PORT_OUT ((volatile APE_TX_PORT_H_uint32_t*)0xa0020000) /* This is the memory range into which frames are directed towards the network byte the APE firmware. */
+#define REG_TX_PORT_OUT ((volatile APE_TX_PORT_H_uint32_t*)0xa0020000) /* This is the memory range into which frames are directed towards the network by the APE firmware. */
#define TX_PORT_OUT_ALL_SHIFT 0u
#define TX_PORT_OUT_ALL_MASK 0xffffffffu
#define GET_TX_PORT_OUT_ALL(__reg__) (((__reg__) & 0xffffffff) >> 0u)
#define SET_TX_PORT_OUT_ALL(__val__) (((__val__) << 0u) & 0xffffffffu)
+#define TX_PORT_OUT_ALL_CONTROL_WORD 0x0u
+#define TX_PORT_OUT_ALL_ADDITIONAL_PAYLOAD_WORD 0x2u
+#define TX_PORT_OUT_ALL_FRAME_LEN_WORD 0x3u
+#define TX_PORT_OUT_ALL_NUM_BLOCKS_WORD 0x9u
+#define TX_PORT_OUT_ALL_FIRST_PAYLOAD_WORD 0xcu
#define TX_PORT_OUT_ALL_BLOCK_WORDS 0x20u
#define TX_PORT_OUT_ALL_BLOCK_BYTES 0x80u
@@ -130,7 +135,7 @@ typedef register_container RegTX_PORTOut_t {
/** @brief Component definition for @ref TX_PORT. */
typedef struct TX_PORT_t {
- /** @brief This is the memory range into which frames are directed towards the network byte the APE firmware. */
+ /** @brief This is the memory range into which frames are directed towards the network by the APE firmware. */
RegTX_PORTOut_t Out[2048];
#ifdef CXX_SIMULATOR
OpenPOWER on IntegriCloud