39#ifndef LIBBSP_ARM_TMS570_EMACC
40#define LIBBSP_ARM_TMS570_EMACC
47 uint8_t reserved1 [4];
49 uint32_t C0RXTHRESHEN;
53 uint8_t reserved2 [32];
54 uint32_t C0RXTHRESHSTAT;
58 uint8_t reserved3 [32];
70#define TMS570_EMACC_SOFTRESET_RESET BSP_BIT32(0)
75#define TMS570_EMACC_INTCONTROL_C0TXPACEEN BSP_BIT32(17)
78#define TMS570_EMACC_INTCONTROL_C0RXPACEEN BSP_BIT32(16)
81#define TMS570_EMACC_INTCONTROL_INTPRESCALE(val) BSP_FLD32(val,0, 11)
82#define TMS570_EMACC_INTCONTROL_INTPRESCALE_GET(reg) BSP_FLD32GET(reg,0, 11)
83#define TMS570_EMACC_INTCONTROL_INTPRESCALE_SET(reg,val) BSP_FLD32SET(reg, val,0, 11)
88#define TMS570_EMACC_C0RXTHRESHEN_RXCH7THRESHEN BSP_BIT32(7)
91#define TMS570_EMACC_C0RXTHRESHEN_RXCH6THRESHEN BSP_BIT32(6)
94#define TMS570_EMACC_C0RXTHRESHEN_RXCH5THRESHEN BSP_BIT32(5)
97#define TMS570_EMACC_C0RXTHRESHEN_RXCH4THRESHEN BSP_BIT32(4)
100#define TMS570_EMACC_C0RXTHRESHEN_RXCH3THRESHEN BSP_BIT32(3)
103#define TMS570_EMACC_C0RXTHRESHEN_RXCH2THRESHEN BSP_BIT32(2)
106#define TMS570_EMACC_C0RXTHRESHEN_RXCH1THRESHEN BSP_BIT32(1)
109#define TMS570_EMACC_C0RXTHRESHEN_RXCH0THRESHEN BSP_BIT32(0)
114#define TMS570_EMACC_C0RXEN_RXCH7EN BSP_BIT32(7)
117#define TMS570_EMACC_C0RXEN_RXCH6EN BSP_BIT32(6)
120#define TMS570_EMACC_C0RXEN_RXCH5EN BSP_BIT32(5)
123#define TMS570_EMACC_C0RXEN_RXCH4EN BSP_BIT32(4)
126#define TMS570_EMACC_C0RXEN_RXCH3EN BSP_BIT32(3)
129#define TMS570_EMACC_C0RXEN_RXCH2EN BSP_BIT32(2)
132#define TMS570_EMACC_C0RXEN_RXCH1EN BSP_BIT32(1)
135#define TMS570_EMACC_C0RXEN_RXCH0EN BSP_BIT32(0)
140#define TMS570_EMACC_C0TXEN_TXCH7EN BSP_BIT32(7)
143#define TMS570_EMACC_C0TXEN_TXCH6EN BSP_BIT32(6)
146#define TMS570_EMACC_C0TXEN_TXCH5EN BSP_BIT32(5)
149#define TMS570_EMACC_C0TXEN_TXCH4EN BSP_BIT32(4)
152#define TMS570_EMACC_C0TXEN_TXCH3EN BSP_BIT32(3)
155#define TMS570_EMACC_C0TXEN_TXCH2EN BSP_BIT32(2)
158#define TMS570_EMACC_C0TXEN_TXCH1EN BSP_BIT32(1)
161#define TMS570_EMACC_C0TXEN_TXCH0EN BSP_BIT32(0)
166#define TMS570_EMACC_C0MISCEN_STATPENDEN BSP_BIT32(3)
169#define TMS570_EMACC_C0MISCEN_HOSTPENDEN BSP_BIT32(2)
172#define TMS570_EMACC_C0MISCEN_LINKINT0EN BSP_BIT32(1)
175#define TMS570_EMACC_C0MISCEN_USERINT0EN BSP_BIT32(0)
180#define TMS570_EMACC_C0RXTHRESHSTAT_RXCH7THRESHSTAT BSP_BIT32(7)
183#define TMS570_EMACC_C0RXTHRESHSTAT_RXCH6THRESHSTAT BSP_BIT32(6)
186#define TMS570_EMACC_C0RXTHRESHSTAT_RXCH5THRESHSTAT BSP_BIT32(5)
189#define TMS570_EMACC_C0RXTHRESHSTAT_RXCH4THRESHSTAT BSP_BIT32(4)
192#define TMS570_EMACC_C0RXTHRESHSTAT_RXCH3THRESHSTAT BSP_BIT32(3)
195#define TMS570_EMACC_C0RXTHRESHSTAT_RXCH2THRESHSTAT BSP_BIT32(2)
198#define TMS570_EMACC_C0RXTHRESHSTAT_RXCH1THRESHSTAT BSP_BIT32(1)
201#define TMS570_EMACC_C0RXTHRESHSTAT_RXCH0THRESHSTAT BSP_BIT32(0)
206#define TMS570_EMACC_C0RXSTAT_RXCH7STAT BSP_BIT32(7)
209#define TMS570_EMACC_C0RXSTAT_RXCH6STAT BSP_BIT32(6)
212#define TMS570_EMACC_C0RXSTAT_RXCH5STAT BSP_BIT32(5)
215#define TMS570_EMACC_C0RXSTAT_RXCH4STAT BSP_BIT32(4)
218#define TMS570_EMACC_C0RXSTAT_RXCH3STAT BSP_BIT32(3)
221#define TMS570_EMACC_C0RXSTAT_RXCH2STAT BSP_BIT32(2)
224#define TMS570_EMACC_C0RXSTAT_RXCH1STAT BSP_BIT32(1)
227#define TMS570_EMACC_C0RXSTAT_RXCH0STAT BSP_BIT32(0)
232#define TMS570_EMACC_C0TXSTAT_TXCH7STAT BSP_BIT32(7)
235#define TMS570_EMACC_C0TXSTAT_TXCH6STAT BSP_BIT32(6)
238#define TMS570_EMACC_C0TXSTAT_TXCH5STAT BSP_BIT32(5)
241#define TMS570_EMACC_C0TXSTAT_TXCH4STAT BSP_BIT32(4)
244#define TMS570_EMACC_C0TXSTAT_TXCH3STAT BSP_BIT32(3)
247#define TMS570_EMACC_C0TXSTAT_TXCH2STAT BSP_BIT32(2)
250#define TMS570_EMACC_C0TXSTAT_TXCH1STAT BSP_BIT32(1)
253#define TMS570_EMACC_C0TXSTAT_TXCH0STAT BSP_BIT32(0)
258#define TMS570_EMACC_C0MISCSTAT_STATPENDSTAT BSP_BIT32(3)
261#define TMS570_EMACC_C0MISCSTAT_HOSTPENDSTAT BSP_BIT32(2)
264#define TMS570_EMACC_C0MISCSTAT_LINKINT0STAT BSP_BIT32(1)
267#define TMS570_EMACC_C0MISCSTAT_USERINT0STAT BSP_BIT32(0)
272#define TMS570_EMACC_C0RXIMAX_RXIMAX(val) BSP_FLD32(val,0, 5)
273#define TMS570_EMACC_C0RXIMAX_RXIMAX_GET(reg) BSP_FLD32GET(reg,0, 5)
274#define TMS570_EMACC_C0RXIMAX_RXIMAX_SET(reg,val) BSP_FLD32SET(reg, val,0, 5)
279#define TMS570_EMACC_C0TXIMAX_TXIMAX(val) BSP_FLD32(val,0, 5)
280#define TMS570_EMACC_C0TXIMAX_TXIMAX_GET(reg) BSP_FLD32GET(reg,0, 5)
281#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:44