RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Data Structures | Macros
reg_emacm.h File Reference

This header file provides EMACM interfaces. More...

#include <bsp/utility.h>

Go to the source code of this file.

Data Structures

struct  tms570_emacm_t
 

Macros

#define TMS570_EMACM_TXCONTROL_TXEN   BSP_BIT32(0)
 
#define TMS570_EMACM_TXTEARDOWN_TXTDNCH(val)   BSP_FLD32(val,0, 2)
 
#define TMS570_EMACM_TXTEARDOWN_TXTDNCH_GET(reg)   BSP_FLD32GET(reg,0, 2)
 
#define TMS570_EMACM_TXTEARDOWN_TXTDNCH_SET(reg, val)   BSP_FLD32SET(reg, val,0, 2)
 
#define TMS570_EMACM_RXCONTROL_RXEN   BSP_BIT32(0)
 
#define TMS570_EMACM_RXTEARDOWN_RXTDNCH(val)   BSP_FLD32(val,0, 2)
 
#define TMS570_EMACM_RXTEARDOWN_RXTDNCH_GET(reg)   BSP_FLD32GET(reg,0, 2)
 
#define TMS570_EMACM_RXTEARDOWN_RXTDNCH_SET(reg, val)   BSP_FLD32SET(reg, val,0, 2)
 
#define TMS570_EMACM_TXINTSTATRAW_TX7PEND   BSP_BIT32(7)
 
#define TMS570_EMACM_TXINTSTATRAW_TX6PEND   BSP_BIT32(6)
 
#define TMS570_EMACM_TXINTSTATRAW_TX5PEND   BSP_BIT32(5)
 
#define TMS570_EMACM_TXINTSTATRAW_TX4PEND   BSP_BIT32(4)
 
#define TMS570_EMACM_TXINTSTATRAW_TX3PEND   BSP_BIT32(3)
 
#define TMS570_EMACM_TXINTSTATRAW_TX2PEND   BSP_BIT32(2)
 
#define TMS570_EMACM_TXINTSTATRAW_TX1PEND   BSP_BIT32(1)
 
#define TMS570_EMACM_TXINTSTATRAW_TX0PEND   BSP_BIT32(0)
 
#define TMS570_EMACM_TXINTSTATMASKED_TX7PEND   BSP_BIT32(7)
 
#define TMS570_EMACM_TXINTSTATMASKED_TX6PEND   BSP_BIT32(6)
 
#define TMS570_EMACM_TXINTSTATMASKED_TX5PEND   BSP_BIT32(5)
 
#define TMS570_EMACM_TXINTSTATMASKED_TX4PEND   BSP_BIT32(4)
 
#define TMS570_EMACM_TXINTSTATMASKED_TX3PEND   BSP_BIT32(3)
 
#define TMS570_EMACM_TXINTSTATMASKED_TX2PEND   BSP_BIT32(2)
 
#define TMS570_EMACM_TXINTSTATMASKED_TX1PEND   BSP_BIT32(1)
 
#define TMS570_EMACM_TXINTSTATMASKED_TX0PEND   BSP_BIT32(0)
 
#define TMS570_EMACM_TXINTMASKSET_TX7MASK   BSP_BIT32(7)
 
#define TMS570_EMACM_TXINTMASKSET_TX6MASK   BSP_BIT32(6)
 
#define TMS570_EMACM_TXINTMASKSET_TX5MASK   BSP_BIT32(5)
 
#define TMS570_EMACM_TXINTMASKSET_TX4MASK   BSP_BIT32(4)
 
#define TMS570_EMACM_TXINTMASKSET_TX3MASK   BSP_BIT32(3)
 
#define TMS570_EMACM_TXINTMASKSET_TX2MASK   BSP_BIT32(2)
 
#define TMS570_EMACM_TXINTMASKSET_TX1MASK   BSP_BIT32(1)
 
#define TMS570_EMACM_TXINTMASKSET_TX0MASK   BSP_BIT32(0)
 
#define TMS570_EMACM_TXINTMASKCLEAR_TX7MASK   BSP_BIT32(7)
 
#define TMS570_EMACM_TXINTMASKCLEAR_TX6MASK   BSP_BIT32(6)
 
#define TMS570_EMACM_TXINTMASKCLEAR_TX5MASK   BSP_BIT32(5)
 
#define TMS570_EMACM_TXINTMASKCLEAR_TX4MASK   BSP_BIT32(4)
 
#define TMS570_EMACM_TXINTMASKCLEAR_TX3MASK   BSP_BIT32(3)
 
#define TMS570_EMACM_TXINTMASKCLEAR_TX2MASK   BSP_BIT32(2)
 
#define TMS570_EMACM_TXINTMASKCLEAR_TX1MASK   BSP_BIT32(1)
 
#define TMS570_EMACM_TXINTMASKCLEAR_TX0MASK   BSP_BIT32(0)
 
#define TMS570_EMACM_MACINVECTOR_STATPEND   BSP_BIT32(27)
 
#define TMS570_EMACM_MACINVECTOR_HOSTPEND   BSP_BIT32(26)
 
#define TMS570_EMACM_MACINVECTOR_LINKINT0   BSP_BIT32(25)
 
#define TMS570_EMACM_MACINVECTOR_USERINT0   BSP_BIT32(24)
 
#define TMS570_EMACM_MACINVECTOR_TXPEND(val)   BSP_FLD32(val,16, 23)
 
#define TMS570_EMACM_MACINVECTOR_TXPEND_GET(reg)   BSP_FLD32GET(reg,16, 23)
 
#define TMS570_EMACM_MACINVECTOR_TXPEND_SET(reg, val)   BSP_FLD32SET(reg, val,16, 23)
 
#define TMS570_EMACM_MACINVECTOR_RXTHRESHPEND(val)   BSP_FLD32(val,8, 15)
 
#define TMS570_EMACM_MACINVECTOR_RXTHRESHPEND_GET(reg)   BSP_FLD32GET(reg,8, 15)
 
#define TMS570_EMACM_MACINVECTOR_RXTHRESHPEND_SET(reg, val)   BSP_FLD32SET(reg, val,8, 15)
 
#define TMS570_EMACM_MACINVECTOR_RXPEND(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_EMACM_MACINVECTOR_RXPEND_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_EMACM_MACINVECTOR_RXPEND_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_EMACM_MACEOIVECTOR_INTVECT(val)   BSP_FLD32(val,0, 4)
 
#define TMS570_EMACM_MACEOIVECTOR_INTVECT_GET(reg)   BSP_FLD32GET(reg,0, 4)
 
#define TMS570_EMACM_MACEOIVECTOR_INTVECT_SET(reg, val)   BSP_FLD32SET(reg, val,0, 4)
 
#define TMS570_EMACM_RXINTSTATRAW_RX7THRESHPEND   BSP_BIT32(15)
 
#define TMS570_EMACM_RXINTSTATRAW_RX6THRESHPEND   BSP_BIT32(14)
 
#define TMS570_EMACM_RXINTSTATRAW_RX5THRESHPEND   BSP_BIT32(13)
 
#define TMS570_EMACM_RXINTSTATRAW_RX4THRESHPEND   BSP_BIT32(12)
 
#define TMS570_EMACM_RXINTSTATRAW_RX3THRESHPEND   BSP_BIT32(11)
 
#define TMS570_EMACM_RXINTSTATRAW_RX2THRESHPEND   BSP_BIT32(10)
 
#define TMS570_EMACM_RXINTSTATRAW_RX1THRESHPEND   BSP_BIT32(9)
 
#define TMS570_EMACM_RXINTSTATRAW_RX0THRESHPEND   BSP_BIT32(8)
 
#define TMS570_EMACM_RXINTSTATRAW_RX7PEND   BSP_BIT32(7)
 
#define TMS570_EMACM_RXINTSTATRAW_RX6PEND   BSP_BIT32(6)
 
#define TMS570_EMACM_RXINTSTATRAW_RX5PEND   BSP_BIT32(5)
 
#define TMS570_EMACM_RXINTSTATRAW_RX4PEND   BSP_BIT32(4)
 
#define TMS570_EMACM_RXINTSTATRAW_RX3PEND   BSP_BIT32(3)
 
#define TMS570_EMACM_RXINTSTATRAW_RX2PEND   BSP_BIT32(2)
 
#define TMS570_EMACM_RXINTSTATRAW_RX1PEND   BSP_BIT32(1)
 
#define TMS570_EMACM_RXINTSTATRAW_RX0PEND   BSP_BIT32(0)
 
#define TMS570_EMACM_RXINTSTATMASKED_RX7THRESHPEND   BSP_BIT32(15)
 
#define TMS570_EMACM_RXINTSTATMASKED_RX6THRESHPEND   BSP_BIT32(14)
 
#define TMS570_EMACM_RXINTSTATMASKED_RX5THRESHPEND   BSP_BIT32(13)
 
#define TMS570_EMACM_RXINTSTATMASKED_RX4THRESHPEND   BSP_BIT32(12)
 
#define TMS570_EMACM_RXINTSTATMASKED_RX3THRESHPEND   BSP_BIT32(11)
 
#define TMS570_EMACM_RXINTSTATMASKED_RX2THRESHPEND   BSP_BIT32(10)
 
#define TMS570_EMACM_RXINTSTATMASKED_RX1THRESHPEND   BSP_BIT32(9)
 
#define TMS570_EMACM_RXINTSTATMASKED_RX0THRESHPEND   BSP_BIT32(8)
 
#define TMS570_EMACM_RXINTSTATMASKED_RX7PEND   BSP_BIT32(7)
 
#define TMS570_EMACM_RXINTSTATMASKED_RX6PEND   BSP_BIT32(6)
 
#define TMS570_EMACM_RXINTSTATMASKED_RX5PEND   BSP_BIT32(5)
 
#define TMS570_EMACM_RXINTSTATMASKED_RX4PEND   BSP_BIT32(4)
 
#define TMS570_EMACM_RXINTSTATMASKED_RX3PEND   BSP_BIT32(3)
 
#define TMS570_EMACM_RXINTSTATMASKED_RX2PEND   BSP_BIT32(2)
 
#define TMS570_EMACM_RXINTSTATMASKED_RX1PEND   BSP_BIT32(1)
 
#define TMS570_EMACM_RXINTSTATMASKED_RX0PEND   BSP_BIT32(0)
 
#define TMS570_EMACM_RXINTMASKSET_RX7THRESHMASK   BSP_BIT32(15)
 
#define TMS570_EMACM_RXINTMASKSET_RX6THRESHMASK   BSP_BIT32(14)
 
#define TMS570_EMACM_RXINTMASKSET_RX5THRESHMASK   BSP_BIT32(13)
 
#define TMS570_EMACM_RXINTMASKSET_RX4THRESHMASK   BSP_BIT32(12)
 
#define TMS570_EMACM_RXINTMASKSET_RX3THRESHMASK   BSP_BIT32(11)
 
#define TMS570_EMACM_RXINTMASKSET_RX2THRESHMASK   BSP_BIT32(10)
 
#define TMS570_EMACM_RXINTMASKSET_RX1THRESHMASK   BSP_BIT32(9)
 
#define TMS570_EMACM_RXINTMASKSET_RX0THRESHMASK   BSP_BIT32(8)
 
#define TMS570_EMACM_RXINTMASKSET_RX7MASK   BSP_BIT32(7)
 
#define TMS570_EMACM_RXINTMASKSET_RX6MASK   BSP_BIT32(6)
 
#define TMS570_EMACM_RXINTMASKSET_RX5MASK   BSP_BIT32(5)
 
#define TMS570_EMACM_RXINTMASKSET_RX4MASK   BSP_BIT32(4)
 
#define TMS570_EMACM_RXINTMASKSET_RX3MASK   BSP_BIT32(3)
 
#define TMS570_EMACM_RXINTMASKSET_RX2MASK   BSP_BIT32(2)
 
#define TMS570_EMACM_RXINTMASKSET_RX1MASK   BSP_BIT32(1)
 
#define TMS570_EMACM_RXINTMASKSET_RX0MASK   BSP_BIT32(0)
 
#define TMS570_EMACM_RXINTMASKCLEAR_RX7THRESHMASK   BSP_BIT32(15)
 
#define TMS570_EMACM_RXINTMASKCLEAR_RX6THRESHMASK   BSP_BIT32(14)
 
#define TMS570_EMACM_RXINTMASKCLEAR_RX5THRESHMASK   BSP_BIT32(13)
 
#define TMS570_EMACM_RXINTMASKCLEAR_RX4THRESHMASK   BSP_BIT32(12)
 
#define TMS570_EMACM_RXINTMASKCLEAR_RX3THRESHMASK   BSP_BIT32(11)
 
#define TMS570_EMACM_RXINTMASKCLEAR_RX2THRESHMASK   BSP_BIT32(10)
 
#define TMS570_EMACM_RXINTMASKCLEAR_RX1THRESHMASK   BSP_BIT32(9)
 
#define TMS570_EMACM_RXINTMASKCLEAR_RX0THRESHMASK   BSP_BIT32(8)
 
#define TMS570_EMACM_RXINTMASKCLEAR_RX7MASK   BSP_BIT32(7)
 
#define TMS570_EMACM_RXINTMASKCLEAR_RX6MASK   BSP_BIT32(6)
 
#define TMS570_EMACM_RXINTMASKCLEAR_RX5MASK   BSP_BIT32(5)
 
#define TMS570_EMACM_RXINTMASKCLEAR_RX4MASK   BSP_BIT32(4)
 
#define TMS570_EMACM_RXINTMASKCLEAR_RX3MASK   BSP_BIT32(3)
 
#define TMS570_EMACM_RXINTMASKCLEAR_RX2MASK   BSP_BIT32(2)
 
#define TMS570_EMACM_RXINTMASKCLEAR_RX1MASK   BSP_BIT32(1)
 
#define TMS570_EMACM_RXINTMASKCLEAR_RX0MASK   BSP_BIT32(0)
 
#define TMS570_EMACM_MACINTSTATRAW_HOSTPEND   BSP_BIT32(1)
 
#define TMS570_EMACM_MACINTSTATRAW_STATPEND   BSP_BIT32(0)
 
#define TMS570_EMACM_MACINTSTATMASKED_HOSTPEND   BSP_BIT32(1)
 
#define TMS570_EMACM_MACINTSTATMASKED_STATPEND   BSP_BIT32(0)
 
#define TMS570_EMACM_MACINTMASKSET_HOSTMASK   BSP_BIT32(1)
 
#define TMS570_EMACM_MACINTMASKSET_STATMASK   BSP_BIT32(0)
 
#define TMS570_EMACM_MACINTMASKCLEAR_HOSTMASK   BSP_BIT32(1)
 
#define TMS570_EMACM_MACINTMASKCLEAR_STATMASK   BSP_BIT32(0)
 
#define TMS570_EMACM_RXMBPENABLE_RXPASSCRC   BSP_BIT32(30)
 
#define TMS570_EMACM_RXMBPENABLE_RXQOSEN   BSP_BIT32(29)
 
#define TMS570_EMACM_RXMBPENABLE_RXNOCHAIN   BSP_BIT32(28)
 
#define TMS570_EMACM_RXMBPENABLE_RXCMFEN   BSP_BIT32(24)
 
#define TMS570_EMACM_RXMBPENABLE_RXCSFEN   BSP_BIT32(23)
 
#define TMS570_EMACM_RXMBPENABLE_RXCEFEN   BSP_BIT32(22)
 
#define TMS570_EMACM_RXMBPENABLE_RXCAFEN   BSP_BIT32(21)
 
#define TMS570_EMACM_RXMBPENABLE_RXPROMCH(val)   BSP_FLD32(val,16, 18)
 
#define TMS570_EMACM_RXMBPENABLE_RXPROMCH_GET(reg)   BSP_FLD32GET(reg,16, 18)
 
#define TMS570_EMACM_RXMBPENABLE_RXPROMCH_SET(reg, val)   BSP_FLD32SET(reg, val,16, 18)
 
#define TMS570_EMACM_RXMBPENABLE_RXBROADEN   BSP_BIT32(13)
 
#define TMS570_EMACM_RXMBPENABLE_RXBROADCH(val)   BSP_FLD32(val,8, 10)
 
#define TMS570_EMACM_RXMBPENABLE_RXBROADCH_GET(reg)   BSP_FLD32GET(reg,8, 10)
 
#define TMS570_EMACM_RXMBPENABLE_RXBROADCH_SET(reg, val)   BSP_FLD32SET(reg, val,8, 10)
 
#define TMS570_EMACM_RXMBPENABLE_RXMULTEN   BSP_BIT32(5)
 
#define TMS570_EMACM_RXUNICASTSET_RXCH7EN   BSP_BIT32(7)
 
#define TMS570_EMACM_RXUNICASTSET_RXCH6EN   BSP_BIT32(6)
 
#define TMS570_EMACM_RXUNICASTSET_RXCH5EN   BSP_BIT32(5)
 
#define TMS570_EMACM_RXUNICASTSET_RXCH4EN   BSP_BIT32(4)
 
#define TMS570_EMACM_RXUNICASTSET_RXCH3EN   BSP_BIT32(3)
 
#define TMS570_EMACM_RXUNICASTSET_RXCH2EN   BSP_BIT32(2)
 
#define TMS570_EMACM_RXUNICASTSET_RXCH1EN   BSP_BIT32(1)
 
#define TMS570_EMACM_RXUNICASTSET_RXCH0EN   BSP_BIT32(0)
 
#define TMS570_EMACM_RXUNICASTCLEAR_RXCH7EN   BSP_BIT32(7)
 
#define TMS570_EMACM_RXUNICASTCLEAR_RXCH6EN   BSP_BIT32(6)
 
#define TMS570_EMACM_RXUNICASTCLEAR_RXCH5EN   BSP_BIT32(5)
 
#define TMS570_EMACM_RXUNICASTCLEAR_RXCH4EN   BSP_BIT32(4)
 
#define TMS570_EMACM_RXUNICASTCLEAR_RXCH3EN   BSP_BIT32(3)
 
#define TMS570_EMACM_RXUNICASTCLEAR_RXCH2EN   BSP_BIT32(2)
 
#define TMS570_EMACM_RXUNICASTCLEAR_RXCH1EN   BSP_BIT32(1)
 
#define TMS570_EMACM_RXUNICASTCLEAR_RXCH0EN   BSP_BIT32(0)
 
#define TMS570_EMACM_RXMAXLEN_RXMAXLEN(val)   BSP_FLD32(val,0, 15)
 
#define TMS570_EMACM_RXMAXLEN_RXMAXLEN_GET(reg)   BSP_FLD32GET(reg,0, 15)
 
#define TMS570_EMACM_RXMAXLEN_RXMAXLEN_SET(reg, val)   BSP_FLD32SET(reg, val,0, 15)
 
#define TMS570_EMACM_RXBUFFEROFFSET_RXBUFFEROFFSET(val)   BSP_FLD32(val,0, 15)
 
#define TMS570_EMACM_RXBUFFEROFFSET_RXBUFFEROFFSET_GET(reg)   BSP_FLD32GET(reg,0, 15)
 
#define TMS570_EMACM_RXBUFFEROFFSET_RXBUFFEROFFSET_SET(reg, val)   BSP_FLD32SET(reg, val,0, 15)
 
#define TMS570_EMACM_RXFILTERLOWTHRESH_RXFILTERTHRESH(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_EMACM_RXFILTERLOWTHRESH_RXFILTERTHRESH_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_EMACM_RXFILTERLOWTHRESH_RXFILTERTHRESH_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_EMACM_RXFLOWTHRESH_RXnFLOWTHRESH(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_EMACM_RXFLOWTHRESH_RXnFLOWTHRESH_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_EMACM_RXFLOWTHRESH_RXnFLOWTHRESH_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_EMACM_RXFREEBUFFER_RXnFREEBUF(val)   BSP_FLD32(val,0, 15)
 
#define TMS570_EMACM_RXFREEBUFFER_RXnFREEBUF_GET(reg)   BSP_FLD32GET(reg,0, 15)
 
#define TMS570_EMACM_RXFREEBUFFER_RXnFREEBUF_SET(reg, val)   BSP_FLD32SET(reg, val,0, 15)
 
#define TMS570_EMACM_MACCONTROL_RMIISPEED   BSP_BIT32(15)
 
#define TMS570_EMACM_MACCONTROL_RXOFFLENBLOCK   BSP_BIT32(14)
 
#define TMS570_EMACM_MACCONTROL_RXOWNERSHIP   BSP_BIT32(13)
 
#define TMS570_EMACM_MACCONTROL_CMDIDLE   BSP_BIT32(11)
 
#define TMS570_EMACM_MACCONTROL_TXSHORTGAPEN   BSP_BIT32(10)
 
#define TMS570_EMACM_MACCONTROL_TXPTYPE   BSP_BIT32(9)
 
#define TMS570_EMACM_MACCONTROL_TXPACE   BSP_BIT32(6)
 
#define TMS570_EMACM_MACCONTROL_GMIIEN   BSP_BIT32(5)
 
#define TMS570_EMACM_MACCONTROL_TXFLOWEN   BSP_BIT32(4)
 
#define TMS570_EMACM_MACCONTROL_RXBUFFERFLOWEN   BSP_BIT32(3)
 
#define TMS570_EMACM_MACCONTROL_LOOPBACK   BSP_BIT32(1)
 
#define TMS570_EMACM_MACCONTROL_FULLDUPLEX   BSP_BIT32(0)
 
#define TMS570_EMACM_MACSTATUS_IDLE   BSP_BIT32(31)
 
#define TMS570_EMACM_MACSTATUS_TXERRCODE(val)   BSP_FLD32(val,20, 23)
 
#define TMS570_EMACM_MACSTATUS_TXERRCODE_GET(reg)   BSP_FLD32GET(reg,20, 23)
 
#define TMS570_EMACM_MACSTATUS_TXERRCODE_SET(reg, val)   BSP_FLD32SET(reg, val,20, 23)
 
#define TMS570_EMACM_MACSTATUS_TXERRCH(val)   BSP_FLD32(val,16, 18)
 
#define TMS570_EMACM_MACSTATUS_TXERRCH_GET(reg)   BSP_FLD32GET(reg,16, 18)
 
#define TMS570_EMACM_MACSTATUS_TXERRCH_SET(reg, val)   BSP_FLD32SET(reg, val,16, 18)
 
#define TMS570_EMACM_MACSTATUS_RXERRCODE(val)   BSP_FLD32(val,12, 15)
 
#define TMS570_EMACM_MACSTATUS_RXERRCODE_GET(reg)   BSP_FLD32GET(reg,12, 15)
 
#define TMS570_EMACM_MACSTATUS_RXERRCODE_SET(reg, val)   BSP_FLD32SET(reg, val,12, 15)
 
#define TMS570_EMACM_MACSTATUS_RXERRCH(val)   BSP_FLD32(val,8, 10)
 
#define TMS570_EMACM_MACSTATUS_RXERRCH_GET(reg)   BSP_FLD32GET(reg,8, 10)
 
#define TMS570_EMACM_MACSTATUS_RXERRCH_SET(reg, val)   BSP_FLD32SET(reg, val,8, 10)
 
#define TMS570_EMACM_MACSTATUS_RXQOSACT   BSP_BIT32(2)
 
#define TMS570_EMACM_MACSTATUS_RXFLOWACT   BSP_BIT32(1)
 
#define TMS570_EMACM_MACSTATUS_TXFLOWACT   BSP_BIT32(0)
 
#define TMS570_EMACM_EMCONTROL_SOFT   BSP_BIT32(1)
 
#define TMS570_EMACM_EMCONTROL_FREE   BSP_BIT32(0)
 
#define TMS570_EMACM_FIFOCONTROL_TXCELLTHRESH(val)   BSP_FLD32(val,0, 1)
 
#define TMS570_EMACM_FIFOCONTROL_TXCELLTHRESH_GET(reg)   BSP_FLD32GET(reg,0, 1)
 
#define TMS570_EMACM_FIFOCONTROL_TXCELLTHRESH_SET(reg, val)   BSP_FLD32SET(reg, val,0, 1)
 
#define TMS570_EMACM_MACCONFIG_TXCELLDEPTH(val)   BSP_FLD32(val,24, 31)
 
#define TMS570_EMACM_MACCONFIG_TXCELLDEPTH_GET(reg)   BSP_FLD32GET(reg,24, 31)
 
#define TMS570_EMACM_MACCONFIG_TXCELLDEPTH_SET(reg, val)   BSP_FLD32SET(reg, val,24, 31)
 
#define TMS570_EMACM_MACCONFIG_RXCELLDEPTH(val)   BSP_FLD32(val,16, 23)
 
#define TMS570_EMACM_MACCONFIG_RXCELLDEPTH_GET(reg)   BSP_FLD32GET(reg,16, 23)
 
#define TMS570_EMACM_MACCONFIG_RXCELLDEPTH_SET(reg, val)   BSP_FLD32SET(reg, val,16, 23)
 
#define TMS570_EMACM_MACCONFIG_ADDRESSTYPE(val)   BSP_FLD32(val,8, 15)
 
#define TMS570_EMACM_MACCONFIG_ADDRESSTYPE_GET(reg)   BSP_FLD32GET(reg,8, 15)
 
#define TMS570_EMACM_MACCONFIG_ADDRESSTYPE_SET(reg, val)   BSP_FLD32SET(reg, val,8, 15)
 
#define TMS570_EMACM_MACCONFIG_MACCFIG(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_EMACM_MACCONFIG_MACCFIG_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_EMACM_MACCONFIG_MACCFIG_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_EMACM_SOFTRESET_SOFTRESET   BSP_BIT32(0)
 
#define TMS570_EMACM_MACSRCADDRLO_MACSRCADDR0(val)   BSP_FLD32(val,8, 15)
 
#define TMS570_EMACM_MACSRCADDRLO_MACSRCADDR0_GET(reg)   BSP_FLD32GET(reg,8, 15)
 
#define TMS570_EMACM_MACSRCADDRLO_MACSRCADDR0_SET(reg, val)   BSP_FLD32SET(reg, val,8, 15)
 
#define TMS570_EMACM_MACSRCADDRLO_MACSRCADDR1(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_EMACM_MACSRCADDRLO_MACSRCADDR1_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_EMACM_MACSRCADDRLO_MACSRCADDR1_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_EMACM_MACSRCADDRHI_MACSRCADDR2(val)   BSP_FLD32(val,24, 31)
 
#define TMS570_EMACM_MACSRCADDRHI_MACSRCADDR2_GET(reg)   BSP_FLD32GET(reg,24, 31)
 
#define TMS570_EMACM_MACSRCADDRHI_MACSRCADDR2_SET(reg, val)   BSP_FLD32SET(reg, val,24, 31)
 
#define TMS570_EMACM_MACSRCADDRHI_MACSRCADDR3(val)   BSP_FLD32(val,16, 23)
 
#define TMS570_EMACM_MACSRCADDRHI_MACSRCADDR3_GET(reg)   BSP_FLD32GET(reg,16, 23)
 
#define TMS570_EMACM_MACSRCADDRHI_MACSRCADDR3_SET(reg, val)   BSP_FLD32SET(reg, val,16, 23)
 
#define TMS570_EMACM_MACSRCADDRHI_MACSRCADDR4(val)   BSP_FLD32(val,8, 15)
 
#define TMS570_EMACM_MACSRCADDRHI_MACSRCADDR4_GET(reg)   BSP_FLD32GET(reg,8, 15)
 
#define TMS570_EMACM_MACSRCADDRHI_MACSRCADDR4_SET(reg, val)   BSP_FLD32SET(reg, val,8, 15)
 
#define TMS570_EMACM_MACSRCADDRHI_MACSRCADDR5(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_EMACM_MACSRCADDRHI_MACSRCADDR5_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_EMACM_MACSRCADDRHI_MACSRCADDR5_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_EMACM_BOFFTEST_RNDNUM(val)   BSP_FLD32(val,16, 25)
 
#define TMS570_EMACM_BOFFTEST_RNDNUM_GET(reg)   BSP_FLD32GET(reg,16, 25)
 
#define TMS570_EMACM_BOFFTEST_RNDNUM_SET(reg, val)   BSP_FLD32SET(reg, val,16, 25)
 
#define TMS570_EMACM_BOFFTEST_COLLCOUNT(val)   BSP_FLD32(val,12, 15)
 
#define TMS570_EMACM_BOFFTEST_COLLCOUNT_GET(reg)   BSP_FLD32GET(reg,12, 15)
 
#define TMS570_EMACM_BOFFTEST_COLLCOUNT_SET(reg, val)   BSP_FLD32SET(reg, val,12, 15)
 
#define TMS570_EMACM_BOFFTEST_TXBACKOFF(val)   BSP_FLD32(val,0, 9)
 
#define TMS570_EMACM_BOFFTEST_TXBACKOFF_GET(reg)   BSP_FLD32GET(reg,0, 9)
 
#define TMS570_EMACM_BOFFTEST_TXBACKOFF_SET(reg, val)   BSP_FLD32SET(reg, val,0, 9)
 
#define TMS570_EMACM_TPACETEST_PACEVAL(val)   BSP_FLD32(val,0, 4)
 
#define TMS570_EMACM_TPACETEST_PACEVAL_GET(reg)   BSP_FLD32GET(reg,0, 4)
 
#define TMS570_EMACM_TPACETEST_PACEVAL_SET(reg, val)   BSP_FLD32SET(reg, val,0, 4)
 
#define TMS570_EMACM_RXPAUSE_PAUSETIMER(val)   BSP_FLD32(val,0, 15)
 
#define TMS570_EMACM_RXPAUSE_PAUSETIMER_GET(reg)   BSP_FLD32GET(reg,0, 15)
 
#define TMS570_EMACM_RXPAUSE_PAUSETIMER_SET(reg, val)   BSP_FLD32SET(reg, val,0, 15)
 
#define TMS570_EMACM_TXPAUSE_PAUSETIMER(val)   BSP_FLD32(val,0, 15)
 
#define TMS570_EMACM_TXPAUSE_PAUSETIMER_GET(reg)   BSP_FLD32GET(reg,0, 15)
 
#define TMS570_EMACM_TXPAUSE_PAUSETIMER_SET(reg, val)   BSP_FLD32SET(reg, val,0, 15)
 
#define TMS570_EMACM_MACADDRLO_VALID   BSP_BIT32(20)
 
#define TMS570_EMACM_MACADDRLO_MATCHFILT   BSP_BIT32(19)
 
#define TMS570_EMACM_MACADDRLO_CHANNEL(val)   BSP_FLD32(val,16, 18)
 
#define TMS570_EMACM_MACADDRLO_CHANNEL_GET(reg)   BSP_FLD32GET(reg,16, 18)
 
#define TMS570_EMACM_MACADDRLO_CHANNEL_SET(reg, val)   BSP_FLD32SET(reg, val,16, 18)
 
#define TMS570_EMACM_MACADDRLO_MACADDR0(val)   BSP_FLD32(val,8, 15)
 
#define TMS570_EMACM_MACADDRLO_MACADDR0_GET(reg)   BSP_FLD32GET(reg,8, 15)
 
#define TMS570_EMACM_MACADDRLO_MACADDR0_SET(reg, val)   BSP_FLD32SET(reg, val,8, 15)
 
#define TMS570_EMACM_MACADDRLO_MACADDR1(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_EMACM_MACADDRLO_MACADDR1_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_EMACM_MACADDRLO_MACADDR1_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_EMACM_MACADDRHI_MACADDR2(val)   BSP_FLD32(val,24, 31)
 
#define TMS570_EMACM_MACADDRHI_MACADDR2_GET(reg)   BSP_FLD32GET(reg,24, 31)
 
#define TMS570_EMACM_MACADDRHI_MACADDR2_SET(reg, val)   BSP_FLD32SET(reg, val,24, 31)
 
#define TMS570_EMACM_MACADDRHI_MACADDR3(val)   BSP_FLD32(val,16, 23)
 
#define TMS570_EMACM_MACADDRHI_MACADDR3_GET(reg)   BSP_FLD32GET(reg,16, 23)
 
#define TMS570_EMACM_MACADDRHI_MACADDR3_SET(reg, val)   BSP_FLD32SET(reg, val,16, 23)
 
#define TMS570_EMACM_MACADDRHI_MACADDR4(val)   BSP_FLD32(val,8, 15)
 
#define TMS570_EMACM_MACADDRHI_MACADDR4_GET(reg)   BSP_FLD32GET(reg,8, 15)
 
#define TMS570_EMACM_MACADDRHI_MACADDR4_SET(reg, val)   BSP_FLD32SET(reg, val,8, 15)
 
#define TMS570_EMACM_MACADDRHI_MACADDR5(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_EMACM_MACADDRHI_MACADDR5_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_EMACM_MACADDRHI_MACADDR5_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_EMACM_MACINDEX_MACINDEX(val)   BSP_FLD32(val,0, 2)
 
#define TMS570_EMACM_MACINDEX_MACINDEX_GET(reg)   BSP_FLD32GET(reg,0, 2)
 
#define TMS570_EMACM_MACINDEX_MACINDEX_SET(reg, val)   BSP_FLD32SET(reg, val,0, 2)
 

Detailed Description

This header file provides EMACM interfaces.