49#ifndef LIBBSP_ARM_TMS570_EMACC
50#define LIBBSP_ARM_TMS570_EMACC
57 uint8_t reserved1 [4];
59 uint32_t C0RXTHRESHEN;
63 uint8_t reserved2 [32];
64 uint32_t C0RXTHRESHSTAT;
68 uint8_t reserved3 [32];
80#define TMS570_EMACC_SOFTRESET_RESET BSP_BIT32(0)
85#define TMS570_EMACC_INTCONTROL_C0TXPACEEN BSP_BIT32(17)
88#define TMS570_EMACC_INTCONTROL_C0RXPACEEN BSP_BIT32(16)
91#define TMS570_EMACC_INTCONTROL_INTPRESCALE(val) BSP_FLD32(val,0, 11)
92#define TMS570_EMACC_INTCONTROL_INTPRESCALE_GET(reg) BSP_FLD32GET(reg,0, 11)
93#define TMS570_EMACC_INTCONTROL_INTPRESCALE_SET(reg,val) BSP_FLD32SET(reg, val,0, 11)
98#define TMS570_EMACC_C0RXTHRESHEN_RXCH7THRESHEN BSP_BIT32(7)
101#define TMS570_EMACC_C0RXTHRESHEN_RXCH6THRESHEN BSP_BIT32(6)
104#define TMS570_EMACC_C0RXTHRESHEN_RXCH5THRESHEN BSP_BIT32(5)
107#define TMS570_EMACC_C0RXTHRESHEN_RXCH4THRESHEN BSP_BIT32(4)
110#define TMS570_EMACC_C0RXTHRESHEN_RXCH3THRESHEN BSP_BIT32(3)
113#define TMS570_EMACC_C0RXTHRESHEN_RXCH2THRESHEN BSP_BIT32(2)
116#define TMS570_EMACC_C0RXTHRESHEN_RXCH1THRESHEN BSP_BIT32(1)
119#define TMS570_EMACC_C0RXTHRESHEN_RXCH0THRESHEN BSP_BIT32(0)
124#define TMS570_EMACC_C0RXEN_RXCH7EN BSP_BIT32(7)
127#define TMS570_EMACC_C0RXEN_RXCH6EN BSP_BIT32(6)
130#define TMS570_EMACC_C0RXEN_RXCH5EN BSP_BIT32(5)
133#define TMS570_EMACC_C0RXEN_RXCH4EN BSP_BIT32(4)
136#define TMS570_EMACC_C0RXEN_RXCH3EN BSP_BIT32(3)
139#define TMS570_EMACC_C0RXEN_RXCH2EN BSP_BIT32(2)
142#define TMS570_EMACC_C0RXEN_RXCH1EN BSP_BIT32(1)
145#define TMS570_EMACC_C0RXEN_RXCH0EN BSP_BIT32(0)
150#define TMS570_EMACC_C0TXEN_TXCH7EN BSP_BIT32(7)
153#define TMS570_EMACC_C0TXEN_TXCH6EN BSP_BIT32(6)
156#define TMS570_EMACC_C0TXEN_TXCH5EN BSP_BIT32(5)
159#define TMS570_EMACC_C0TXEN_TXCH4EN BSP_BIT32(4)
162#define TMS570_EMACC_C0TXEN_TXCH3EN BSP_BIT32(3)
165#define TMS570_EMACC_C0TXEN_TXCH2EN BSP_BIT32(2)
168#define TMS570_EMACC_C0TXEN_TXCH1EN BSP_BIT32(1)
171#define TMS570_EMACC_C0TXEN_TXCH0EN BSP_BIT32(0)
176#define TMS570_EMACC_C0MISCEN_STATPENDEN BSP_BIT32(3)
179#define TMS570_EMACC_C0MISCEN_HOSTPENDEN BSP_BIT32(2)
182#define TMS570_EMACC_C0MISCEN_LINKINT0EN BSP_BIT32(1)
185#define TMS570_EMACC_C0MISCEN_USERINT0EN BSP_BIT32(0)
190#define TMS570_EMACC_C0RXTHRESHSTAT_RXCH7THRESHSTAT BSP_BIT32(7)
193#define TMS570_EMACC_C0RXTHRESHSTAT_RXCH6THRESHSTAT BSP_BIT32(6)
196#define TMS570_EMACC_C0RXTHRESHSTAT_RXCH5THRESHSTAT BSP_BIT32(5)
199#define TMS570_EMACC_C0RXTHRESHSTAT_RXCH4THRESHSTAT BSP_BIT32(4)
202#define TMS570_EMACC_C0RXTHRESHSTAT_RXCH3THRESHSTAT BSP_BIT32(3)
205#define TMS570_EMACC_C0RXTHRESHSTAT_RXCH2THRESHSTAT BSP_BIT32(2)
208#define TMS570_EMACC_C0RXTHRESHSTAT_RXCH1THRESHSTAT BSP_BIT32(1)
211#define TMS570_EMACC_C0RXTHRESHSTAT_RXCH0THRESHSTAT BSP_BIT32(0)
216#define TMS570_EMACC_C0RXSTAT_RXCH7STAT BSP_BIT32(7)
219#define TMS570_EMACC_C0RXSTAT_RXCH6STAT BSP_BIT32(6)
222#define TMS570_EMACC_C0RXSTAT_RXCH5STAT BSP_BIT32(5)
225#define TMS570_EMACC_C0RXSTAT_RXCH4STAT BSP_BIT32(4)
228#define TMS570_EMACC_C0RXSTAT_RXCH3STAT BSP_BIT32(3)
231#define TMS570_EMACC_C0RXSTAT_RXCH2STAT BSP_BIT32(2)
234#define TMS570_EMACC_C0RXSTAT_RXCH1STAT BSP_BIT32(1)
237#define TMS570_EMACC_C0RXSTAT_RXCH0STAT BSP_BIT32(0)
242#define TMS570_EMACC_C0TXSTAT_TXCH7STAT BSP_BIT32(7)
245#define TMS570_EMACC_C0TXSTAT_TXCH6STAT BSP_BIT32(6)
248#define TMS570_EMACC_C0TXSTAT_TXCH5STAT BSP_BIT32(5)
251#define TMS570_EMACC_C0TXSTAT_TXCH4STAT BSP_BIT32(4)
254#define TMS570_EMACC_C0TXSTAT_TXCH3STAT BSP_BIT32(3)
257#define TMS570_EMACC_C0TXSTAT_TXCH2STAT BSP_BIT32(2)
260#define TMS570_EMACC_C0TXSTAT_TXCH1STAT BSP_BIT32(1)
263#define TMS570_EMACC_C0TXSTAT_TXCH0STAT BSP_BIT32(0)
268#define TMS570_EMACC_C0MISCSTAT_STATPENDSTAT BSP_BIT32(3)
271#define TMS570_EMACC_C0MISCSTAT_HOSTPENDSTAT BSP_BIT32(2)
274#define TMS570_EMACC_C0MISCSTAT_LINKINT0STAT BSP_BIT32(1)
277#define TMS570_EMACC_C0MISCSTAT_USERINT0STAT BSP_BIT32(0)
282#define TMS570_EMACC_C0RXIMAX_RXIMAX(val) BSP_FLD32(val,0, 5)
283#define TMS570_EMACC_C0RXIMAX_RXIMAX_GET(reg) BSP_FLD32GET(reg,0, 5)
284#define TMS570_EMACC_C0RXIMAX_RXIMAX_SET(reg,val) BSP_FLD32SET(reg, val,0, 5)
289#define TMS570_EMACC_C0TXIMAX_TXIMAX(val) BSP_FLD32(val,0, 5)
290#define TMS570_EMACC_C0TXIMAX_TXIMAX_GET(reg) BSP_FLD32GET(reg,0, 5)
291#define TMS570_EMACC_C0TXIMAX_TXIMAX_SET(reg,val) BSP_FLD32SET(reg, val,0, 5)
This header file provides utility macros for BSPs.
Definition: reg_emacc.h:54