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

This header file provides DCAN interfaces. More...

#include <bsp/utility.h>

Go to the source code of this file.

Data Structures

struct  tms570_dcan_t
 

Macros

#define TMS570_DCAN_CTL_WUBA   BSP_BIT32(25)
 
#define TMS570_DCAN_CTL_PDR   BSP_BIT32(24)
 
#define TMS570_DCAN_CTL_DE3   BSP_BIT32(20)
 
#define TMS570_DCAN_CTL_DE2   BSP_BIT32(19)
 
#define TMS570_DCAN_CTL_DE1   BSP_BIT32(18)
 
#define TMS570_DCAN_CTL_IE1   BSP_BIT32(17)
 
#define TMS570_DCAN_CTL_InitDbg   BSP_BIT32(16)
 
#define TMS570_DCAN_CTL_SWR   BSP_BIT32(15)
 
#define TMS570_DCAN_CTL_PMD(val)   BSP_FLD32(val,10, 13)
 
#define TMS570_DCAN_CTL_PMD_GET(reg)   BSP_FLD32GET(reg,10, 13)
 
#define TMS570_DCAN_CTL_PMD_SET(reg, val)   BSP_FLD32SET(reg, val,10, 13)
 
#define TMS570_DCAN_CTL_ABO   BSP_BIT32(9)
 
#define TMS570_DCAN_CTL_IDS   BSP_BIT32(8)
 
#define TMS570_DCAN_CTL_Test   BSP_BIT32(7)
 
#define TMS570_DCAN_CTL_CCE   BSP_BIT32(6)
 
#define TMS570_DCAN_CTL_DAR   BSP_BIT32(5)
 
#define TMS570_DCAN_CTL_EIE   BSP_BIT32(3)
 
#define TMS570_DCAN_CTL_SIE   BSP_BIT32(2)
 
#define TMS570_DCAN_CTL_IE0   BSP_BIT32(1)
 
#define TMS570_DCAN_CTL_Init   BSP_BIT32(0)
 
#define TMS570_DCAN_ES_PDA   BSP_BIT32(10)
 
#define TMS570_DCAN_ES_WakeUp_Pnd   BSP_BIT32(9)
 
#define TMS570_DCAN_ES_PER   BSP_BIT32(8)
 
#define TMS570_DCAN_ES_BOff   BSP_BIT32(7)
 
#define TMS570_DCAN_ES_EWarn   BSP_BIT32(6)
 
#define TMS570_DCAN_ES_EPass   BSP_BIT32(5)
 
#define TMS570_DCAN_ES_RxOK   BSP_BIT32(4)
 
#define TMS570_DCAN_ES_TxOK   BSP_BIT32(3)
 
#define TMS570_DCAN_ES_LEC(val)   BSP_FLD32(val,0, 2)
 
#define TMS570_DCAN_ES_LEC_GET(reg)   BSP_FLD32GET(reg,0, 2)
 
#define TMS570_DCAN_ES_LEC_SET(reg, val)   BSP_FLD32SET(reg, val,0, 2)
 
#define TMS570_DCAN_ERRC_RP   BSP_BIT32(15)
 
#define TMS570_DCAN_ERRC_REC(val)   BSP_FLD32(val,8, 14)
 
#define TMS570_DCAN_ERRC_REC_GET(reg)   BSP_FLD32GET(reg,8, 14)
 
#define TMS570_DCAN_ERRC_REC_SET(reg, val)   BSP_FLD32SET(reg, val,8, 14)
 
#define TMS570_DCAN_ERRC_TEC(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_DCAN_ERRC_TEC_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_DCAN_ERRC_TEC_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_DCAN_BTR_BRPE(val)   BSP_FLD32(val,16, 19)
 
#define TMS570_DCAN_BTR_BRPE_GET(reg)   BSP_FLD32GET(reg,16, 19)
 
#define TMS570_DCAN_BTR_BRPE_SET(reg, val)   BSP_FLD32SET(reg, val,16, 19)
 
#define TMS570_DCAN_BTR_TSeg2(val)   BSP_FLD32(val,12, 14)
 
#define TMS570_DCAN_BTR_TSeg2_GET(reg)   BSP_FLD32GET(reg,12, 14)
 
#define TMS570_DCAN_BTR_TSeg2_SET(reg, val)   BSP_FLD32SET(reg, val,12, 14)
 
#define TMS570_DCAN_BTR_TSeg1(val)   BSP_FLD32(val,8, 11)
 
#define TMS570_DCAN_BTR_TSeg1_GET(reg)   BSP_FLD32GET(reg,8, 11)
 
#define TMS570_DCAN_BTR_TSeg1_SET(reg, val)   BSP_FLD32SET(reg, val,8, 11)
 
#define TMS570_DCAN_BTR_SJW(val)   BSP_FLD32(val,6, 7)
 
#define TMS570_DCAN_BTR_SJW_GET(reg)   BSP_FLD32GET(reg,6, 7)
 
#define TMS570_DCAN_BTR_SJW_SET(reg, val)   BSP_FLD32SET(reg, val,6, 7)
 
#define TMS570_DCAN_BTR_BRP(val)   BSP_FLD32(val,0, 5)
 
#define TMS570_DCAN_BTR_BRP_GET(reg)   BSP_FLD32GET(reg,0, 5)
 
#define TMS570_DCAN_BTR_BRP_SET(reg, val)   BSP_FLD32SET(reg, val,0, 5)
 
#define TMS570_DCAN_INT_Int1ID(val)   BSP_FLD32(val,16, 23)
 
#define TMS570_DCAN_INT_Int1ID_GET(reg)   BSP_FLD32GET(reg,16, 23)
 
#define TMS570_DCAN_INT_Int1ID_SET(reg, val)   BSP_FLD32SET(reg, val,16, 23)
 
#define TMS570_DCAN_INT_Int0ID(val)   BSP_FLD32(val,0, 15)
 
#define TMS570_DCAN_INT_Int0ID_GET(reg)   BSP_FLD32GET(reg,0, 15)
 
#define TMS570_DCAN_INT_Int0ID_SET(reg, val)   BSP_FLD32SET(reg, val,0, 15)
 
#define TMS570_DCAN_TEST_RDA   BSP_BIT32(9)
 
#define TMS570_DCAN_TEST_EXL   BSP_BIT32(8)
 
#define TMS570_DCAN_TEST_Rx   BSP_BIT32(7)
 
#define TMS570_DCAN_TEST_Tx(val)   BSP_FLD32(val,5, 6)
 
#define TMS570_DCAN_TEST_Tx_GET(reg)   BSP_FLD32GET(reg,5, 6)
 
#define TMS570_DCAN_TEST_Tx_SET(reg, val)   BSP_FLD32SET(reg, val,5, 6)
 
#define TMS570_DCAN_TEST_LBack   BSP_BIT32(4)
 
#define TMS570_DCAN_TEST_Silent   BSP_BIT32(3)
 
#define TMS570_DCAN_PERR_Word_Number(val)   BSP_FLD32(val,8, 10)
 
#define TMS570_DCAN_PERR_Word_Number_GET(reg)   BSP_FLD32GET(reg,8, 10)
 
#define TMS570_DCAN_PERR_Word_Number_SET(reg, val)   BSP_FLD32SET(reg, val,8, 10)
 
#define TMS570_DCAN_PERR_Message_Number(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_DCAN_PERR_Message_Number_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_DCAN_PERR_Message_Number_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_DCAN_TXRQX_TxRqstReg8(val)   BSP_FLD32(val,14, 15)
 
#define TMS570_DCAN_TXRQX_TxRqstReg8_GET(reg)   BSP_FLD32GET(reg,14, 15)
 
#define TMS570_DCAN_TXRQX_TxRqstReg8_SET(reg, val)   BSP_FLD32SET(reg, val,14, 15)
 
#define TMS570_DCAN_TXRQX_TxRqstReg7(val)   BSP_FLD32(val,12, 13)
 
#define TMS570_DCAN_TXRQX_TxRqstReg7_GET(reg)   BSP_FLD32GET(reg,12, 13)
 
#define TMS570_DCAN_TXRQX_TxRqstReg7_SET(reg, val)   BSP_FLD32SET(reg, val,12, 13)
 
#define TMS570_DCAN_TXRQX_TxRqstReg6(val)   BSP_FLD32(val,10, 11)
 
#define TMS570_DCAN_TXRQX_TxRqstReg6_GET(reg)   BSP_FLD32GET(reg,10, 11)
 
#define TMS570_DCAN_TXRQX_TxRqstReg6_SET(reg, val)   BSP_FLD32SET(reg, val,10, 11)
 
#define TMS570_DCAN_TXRQX_TxRqstReg5(val)   BSP_FLD32(val,8, 9)
 
#define TMS570_DCAN_TXRQX_TxRqstReg5_GET(reg)   BSP_FLD32GET(reg,8, 9)
 
#define TMS570_DCAN_TXRQX_TxRqstReg5_SET(reg, val)   BSP_FLD32SET(reg, val,8, 9)
 
#define TMS570_DCAN_TXRQX_TxRqstReg4(val)   BSP_FLD32(val,6, 7)
 
#define TMS570_DCAN_TXRQX_TxRqstReg4_GET(reg)   BSP_FLD32GET(reg,6, 7)
 
#define TMS570_DCAN_TXRQX_TxRqstReg4_SET(reg, val)   BSP_FLD32SET(reg, val,6, 7)
 
#define TMS570_DCAN_TXRQX_TxRqstReg3(val)   BSP_FLD32(val,4, 5)
 
#define TMS570_DCAN_TXRQX_TxRqstReg3_GET(reg)   BSP_FLD32GET(reg,4, 5)
 
#define TMS570_DCAN_TXRQX_TxRqstReg3_SET(reg, val)   BSP_FLD32SET(reg, val,4, 5)
 
#define TMS570_DCAN_TXRQX_TxRqstReg2(val)   BSP_FLD32(val,2, 3)
 
#define TMS570_DCAN_TXRQX_TxRqstReg2_GET(reg)   BSP_FLD32GET(reg,2, 3)
 
#define TMS570_DCAN_TXRQX_TxRqstReg2_SET(reg, val)   BSP_FLD32SET(reg, val,2, 3)
 
#define TMS570_DCAN_TXRQX_TxRqstReg1(val)   BSP_FLD32(val,0, 1)
 
#define TMS570_DCAN_TXRQX_TxRqstReg1_GET(reg)   BSP_FLD32GET(reg,0, 1)
 
#define TMS570_DCAN_TXRQX_TxRqstReg1_SET(reg, val)   BSP_FLD32SET(reg, val,0, 1)
 
#define TMS570_DCAN_NWDATX_NewDatReg8(val)   BSP_FLD32(val,14, 15)
 
#define TMS570_DCAN_NWDATX_NewDatReg8_GET(reg)   BSP_FLD32GET(reg,14, 15)
 
#define TMS570_DCAN_NWDATX_NewDatReg8_SET(reg, val)   BSP_FLD32SET(reg, val,14, 15)
 
#define TMS570_DCAN_NWDATX_NewDatReg7(val)   BSP_FLD32(val,12, 13)
 
#define TMS570_DCAN_NWDATX_NewDatReg7_GET(reg)   BSP_FLD32GET(reg,12, 13)
 
#define TMS570_DCAN_NWDATX_NewDatReg7_SET(reg, val)   BSP_FLD32SET(reg, val,12, 13)
 
#define TMS570_DCAN_NWDATX_NewDatReg6(val)   BSP_FLD32(val,10, 11)
 
#define TMS570_DCAN_NWDATX_NewDatReg6_GET(reg)   BSP_FLD32GET(reg,10, 11)
 
#define TMS570_DCAN_NWDATX_NewDatReg6_SET(reg, val)   BSP_FLD32SET(reg, val,10, 11)
 
#define TMS570_DCAN_NWDATX_NewDatReg5(val)   BSP_FLD32(val,8, 9)
 
#define TMS570_DCAN_NWDATX_NewDatReg5_GET(reg)   BSP_FLD32GET(reg,8, 9)
 
#define TMS570_DCAN_NWDATX_NewDatReg5_SET(reg, val)   BSP_FLD32SET(reg, val,8, 9)
 
#define TMS570_DCAN_NWDATX_NewDatReg4(val)   BSP_FLD32(val,6, 7)
 
#define TMS570_DCAN_NWDATX_NewDatReg4_GET(reg)   BSP_FLD32GET(reg,6, 7)
 
#define TMS570_DCAN_NWDATX_NewDatReg4_SET(reg, val)   BSP_FLD32SET(reg, val,6, 7)
 
#define TMS570_DCAN_NWDATX_NewDatReg3(val)   BSP_FLD32(val,4, 5)
 
#define TMS570_DCAN_NWDATX_NewDatReg3_GET(reg)   BSP_FLD32GET(reg,4, 5)
 
#define TMS570_DCAN_NWDATX_NewDatReg3_SET(reg, val)   BSP_FLD32SET(reg, val,4, 5)
 
#define TMS570_DCAN_NWDATX_NewDatReg2(val)   BSP_FLD32(val,2, 3)
 
#define TMS570_DCAN_NWDATX_NewDatReg2_GET(reg)   BSP_FLD32GET(reg,2, 3)
 
#define TMS570_DCAN_NWDATX_NewDatReg2_SET(reg, val)   BSP_FLD32SET(reg, val,2, 3)
 
#define TMS570_DCAN_NWDATX_NewDatReg1(val)   BSP_FLD32(val,0, 1)
 
#define TMS570_DCAN_NWDATX_NewDatReg1_GET(reg)   BSP_FLD32GET(reg,0, 1)
 
#define TMS570_DCAN_NWDATX_NewDatReg1_SET(reg, val)   BSP_FLD32SET(reg, val,0, 1)
 
#define TMS570_DCAN_INTPNDX_IntPndReg8(val)   BSP_FLD32(val,14, 15)
 
#define TMS570_DCAN_INTPNDX_IntPndReg8_GET(reg)   BSP_FLD32GET(reg,14, 15)
 
#define TMS570_DCAN_INTPNDX_IntPndReg8_SET(reg, val)   BSP_FLD32SET(reg, val,14, 15)
 
#define TMS570_DCAN_INTPNDX_IntPndReg7(val)   BSP_FLD32(val,12, 13)
 
#define TMS570_DCAN_INTPNDX_IntPndReg7_GET(reg)   BSP_FLD32GET(reg,12, 13)
 
#define TMS570_DCAN_INTPNDX_IntPndReg7_SET(reg, val)   BSP_FLD32SET(reg, val,12, 13)
 
#define TMS570_DCAN_INTPNDX_IntPndReg6(val)   BSP_FLD32(val,10, 11)
 
#define TMS570_DCAN_INTPNDX_IntPndReg6_GET(reg)   BSP_FLD32GET(reg,10, 11)
 
#define TMS570_DCAN_INTPNDX_IntPndReg6_SET(reg, val)   BSP_FLD32SET(reg, val,10, 11)
 
#define TMS570_DCAN_INTPNDX_IntPndReg5(val)   BSP_FLD32(val,8, 9)
 
#define TMS570_DCAN_INTPNDX_IntPndReg5_GET(reg)   BSP_FLD32GET(reg,8, 9)
 
#define TMS570_DCAN_INTPNDX_IntPndReg5_SET(reg, val)   BSP_FLD32SET(reg, val,8, 9)
 
#define TMS570_DCAN_INTPNDX_IntPndReg4(val)   BSP_FLD32(val,6, 7)
 
#define TMS570_DCAN_INTPNDX_IntPndReg4_GET(reg)   BSP_FLD32GET(reg,6, 7)
 
#define TMS570_DCAN_INTPNDX_IntPndReg4_SET(reg, val)   BSP_FLD32SET(reg, val,6, 7)
 
#define TMS570_DCAN_INTPNDX_IntPndReg3(val)   BSP_FLD32(val,4, 5)
 
#define TMS570_DCAN_INTPNDX_IntPndReg3_GET(reg)   BSP_FLD32GET(reg,4, 5)
 
#define TMS570_DCAN_INTPNDX_IntPndReg3_SET(reg, val)   BSP_FLD32SET(reg, val,4, 5)
 
#define TMS570_DCAN_INTPNDX_IntPndReg2(val)   BSP_FLD32(val,2, 3)
 
#define TMS570_DCAN_INTPNDX_IntPndReg2_GET(reg)   BSP_FLD32GET(reg,2, 3)
 
#define TMS570_DCAN_INTPNDX_IntPndReg2_SET(reg, val)   BSP_FLD32SET(reg, val,2, 3)
 
#define TMS570_DCAN_INTPNDX_IntPndReg1(val)   BSP_FLD32(val,0, 1)
 
#define TMS570_DCAN_INTPNDX_IntPndReg1_GET(reg)   BSP_FLD32GET(reg,0, 1)
 
#define TMS570_DCAN_INTPNDX_IntPndReg1_SET(reg, val)   BSP_FLD32SET(reg, val,0, 1)
 
#define TMS570_DCAN_MSGVALX_MsgValReg8(val)   BSP_FLD32(val,14, 15)
 
#define TMS570_DCAN_MSGVALX_MsgValReg8_GET(reg)   BSP_FLD32GET(reg,14, 15)
 
#define TMS570_DCAN_MSGVALX_MsgValReg8_SET(reg, val)   BSP_FLD32SET(reg, val,14, 15)
 
#define TMS570_DCAN_MSGVALX_MsgValReg7(val)   BSP_FLD32(val,12, 13)
 
#define TMS570_DCAN_MSGVALX_MsgValReg7_GET(reg)   BSP_FLD32GET(reg,12, 13)
 
#define TMS570_DCAN_MSGVALX_MsgValReg7_SET(reg, val)   BSP_FLD32SET(reg, val,12, 13)
 
#define TMS570_DCAN_MSGVALX_MsgValReg6(val)   BSP_FLD32(val,10, 11)
 
#define TMS570_DCAN_MSGVALX_MsgValReg6_GET(reg)   BSP_FLD32GET(reg,10, 11)
 
#define TMS570_DCAN_MSGVALX_MsgValReg6_SET(reg, val)   BSP_FLD32SET(reg, val,10, 11)
 
#define TMS570_DCAN_MSGVALX_MsgValReg5(val)   BSP_FLD32(val,8, 9)
 
#define TMS570_DCAN_MSGVALX_MsgValReg5_GET(reg)   BSP_FLD32GET(reg,8, 9)
 
#define TMS570_DCAN_MSGVALX_MsgValReg5_SET(reg, val)   BSP_FLD32SET(reg, val,8, 9)
 
#define TMS570_DCAN_MSGVALX_MsgValReg4(val)   BSP_FLD32(val,6, 7)
 
#define TMS570_DCAN_MSGVALX_MsgValReg4_GET(reg)   BSP_FLD32GET(reg,6, 7)
 
#define TMS570_DCAN_MSGVALX_MsgValReg4_SET(reg, val)   BSP_FLD32SET(reg, val,6, 7)
 
#define TMS570_DCAN_MSGVALX_MsgValReg3(val)   BSP_FLD32(val,4, 5)
 
#define TMS570_DCAN_MSGVALX_MsgValReg3_GET(reg)   BSP_FLD32GET(reg,4, 5)
 
#define TMS570_DCAN_MSGVALX_MsgValReg3_SET(reg, val)   BSP_FLD32SET(reg, val,4, 5)
 
#define TMS570_DCAN_MSGVALX_MsgValReg2(val)   BSP_FLD32(val,2, 3)
 
#define TMS570_DCAN_MSGVALX_MsgValReg2_GET(reg)   BSP_FLD32GET(reg,2, 3)
 
#define TMS570_DCAN_MSGVALX_MsgValReg2_SET(reg, val)   BSP_FLD32SET(reg, val,2, 3)
 
#define TMS570_DCAN_MSGVALX_MsgValReg1(val)   BSP_FLD32(val,0, 1)
 
#define TMS570_DCAN_MSGVALX_MsgValReg1_GET(reg)   BSP_FLD32GET(reg,0, 1)
 
#define TMS570_DCAN_MSGVALX_MsgValReg1_SET(reg, val)   BSP_FLD32SET(reg, val,0, 1)
 
#define TMS570_DCAN_IF1CMD_WR_RD   BSP_BIT32(23)
 
#define TMS570_DCAN_IF1CMD_Mask   BSP_BIT32(22)
 
#define TMS570_DCAN_IF1CMD_Arb   BSP_BIT32(21)
 
#define TMS570_DCAN_IF1CMD_Control   BSP_BIT32(20)
 
#define TMS570_DCAN_IF1CMD_ClrIntPnd   BSP_BIT32(19)
 
#define TMS570_DCAN_IF1CMD_TxRqst_NewDat   BSP_BIT32(18)
 
#define TMS570_DCAN_IF1CMD_Data_A   BSP_BIT32(17)
 
#define TMS570_DCAN_IF1CMD_Data_B   BSP_BIT32(16)
 
#define TMS570_DCAN_IF1CMD_Busy   BSP_BIT32(15)
 
#define TMS570_DCAN_IF1CMD_DMA_Active   BSP_BIT32(14)
 
#define TMS570_DCAN_IF1CMD_Message_Number(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_DCAN_IF1CMD_Message_Number_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_DCAN_IF1CMD_Message_Number_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_DCAN_IF1MSK_MXtd   BSP_BIT32(31)
 
#define TMS570_DCAN_IF1MSK_MDir   BSP_BIT32(30)
 
#define TMS570_DCAN_IF1MSK_Msk(val)   BSP_FLD32(val,0, 28)
 
#define TMS570_DCAN_IF1MSK_Msk_GET(reg)   BSP_FLD32GET(reg,0, 28)
 
#define TMS570_DCAN_IF1MSK_Msk_SET(reg, val)   BSP_FLD32SET(reg, val,0, 28)
 
#define TMS570_DCAN_IF1ARB_MsgVal   BSP_BIT32(31)
 
#define TMS570_DCAN_IF1ARB_Xtd   BSP_BIT32(30)
 
#define TMS570_DCAN_IF1ARB_Dir   BSP_BIT32(29)
 
#define TMS570_DCAN_IF1ARB_ID(val)   BSP_FLD32(val,0, 28)
 
#define TMS570_DCAN_IF1ARB_ID_GET(reg)   BSP_FLD32GET(reg,0, 28)
 
#define TMS570_DCAN_IF1ARB_ID_SET(reg, val)   BSP_FLD32SET(reg, val,0, 28)
 
#define TMS570_DCAN_IF1MCTL_NewDat   BSP_BIT32(15)
 
#define TMS570_DCAN_IF1MCTL_MsgLst   BSP_BIT32(14)
 
#define TMS570_DCAN_IF1MCTL_IntPnd   BSP_BIT32(13)
 
#define TMS570_DCAN_IF1MCTL_UMask   BSP_BIT32(12)
 
#define TMS570_DCAN_IF1MCTL_TxIE   BSP_BIT32(11)
 
#define TMS570_DCAN_IF1MCTL_RxIE   BSP_BIT32(10)
 
#define TMS570_DCAN_IF1MCTL_RmtEn   BSP_BIT32(9)
 
#define TMS570_DCAN_IF1MCTL_TxRqst   BSP_BIT32(8)
 
#define TMS570_DCAN_IF1MCTL_EoB   BSP_BIT32(7)
 
#define TMS570_DCAN_IF1MCTL_DLC(val)   BSP_FLD32(val,0, 3)
 
#define TMS570_DCAN_IF1MCTL_DLC_GET(reg)   BSP_FLD32GET(reg,0, 3)
 
#define TMS570_DCAN_IF1MCTL_DLC_SET(reg, val)   BSP_FLD32SET(reg, val,0, 3)
 
#define TMS570_DCAN_IF1DATA_Data0(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_DCAN_IF1DATA_Data0_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_DCAN_IF1DATA_Data0_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_DCAN_IF1DATA_Data1(val)   BSP_FLD32(val,8, 15)
 
#define TMS570_DCAN_IF1DATA_Data1_GET(reg)   BSP_FLD32GET(reg,8, 15)
 
#define TMS570_DCAN_IF1DATA_Data1_SET(reg, val)   BSP_FLD32SET(reg, val,8, 15)
 
#define TMS570_DCAN_IF1DATA_Data2(val)   BSP_FLD32(val,16, 23)
 
#define TMS570_DCAN_IF1DATA_Data2_GET(reg)   BSP_FLD32GET(reg,16, 23)
 
#define TMS570_DCAN_IF1DATA_Data2_SET(reg, val)   BSP_FLD32SET(reg, val,16, 23)
 
#define TMS570_DCAN_IF1DATA_Data3(val)   BSP_FLD32(val,24, 31)
 
#define TMS570_DCAN_IF1DATA_Data3_GET(reg)   BSP_FLD32GET(reg,24, 31)
 
#define TMS570_DCAN_IF1DATA_Data3_SET(reg, val)   BSP_FLD32SET(reg, val,24, 31)
 
#define TMS570_DCAN_IF1DATB_Data4(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_DCAN_IF1DATB_Data4_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_DCAN_IF1DATB_Data4_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_DCAN_IF1DATB_Data5(val)   BSP_FLD32(val,8, 15)
 
#define TMS570_DCAN_IF1DATB_Data5_GET(reg)   BSP_FLD32GET(reg,8, 15)
 
#define TMS570_DCAN_IF1DATB_Data5_SET(reg, val)   BSP_FLD32SET(reg, val,8, 15)
 
#define TMS570_DCAN_IF1DATB_Data6(val)   BSP_FLD32(val,16, 23)
 
#define TMS570_DCAN_IF1DATB_Data6_GET(reg)   BSP_FLD32GET(reg,16, 23)
 
#define TMS570_DCAN_IF1DATB_Data6_SET(reg, val)   BSP_FLD32SET(reg, val,16, 23)
 
#define TMS570_DCAN_IF1DATB_Data7(val)   BSP_FLD32(val,24, 31)
 
#define TMS570_DCAN_IF1DATB_Data7_GET(reg)   BSP_FLD32GET(reg,24, 31)
 
#define TMS570_DCAN_IF1DATB_Data7_SET(reg, val)   BSP_FLD32SET(reg, val,24, 31)
 
#define TMS570_DCAN_IF2CMD_WR_RD   BSP_BIT32(23)
 
#define TMS570_DCAN_IF2CMD_Mask   BSP_BIT32(22)
 
#define TMS570_DCAN_IF2CMD_Arb   BSP_BIT32(21)
 
#define TMS570_DCAN_IF2CMD_Control   BSP_BIT32(20)
 
#define TMS570_DCAN_IF2CMD_ClrIntPnd   BSP_BIT32(19)
 
#define TMS570_DCAN_IF2CMD_TxRqst_NewDat   BSP_BIT32(18)
 
#define TMS570_DCAN_IF2CMD_Data_A   BSP_BIT32(17)
 
#define TMS570_DCAN_IF2CMD_Data_B   BSP_BIT32(16)
 
#define TMS570_DCAN_IF2CMD_Busy   BSP_BIT32(15)
 
#define TMS570_DCAN_IF2CMD_DMA_Active   BSP_BIT32(14)
 
#define TMS570_DCAN_IF2CMD_Message_Number(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_DCAN_IF2CMD_Message_Number_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_DCAN_IF2CMD_Message_Number_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_DCAN_IF2MSK_MXtd   BSP_BIT32(31)
 
#define TMS570_DCAN_IF2MSK_MDir   BSP_BIT32(30)
 
#define TMS570_DCAN_IF2MSK_Msk(val)   BSP_FLD32(val,0, 28)
 
#define TMS570_DCAN_IF2MSK_Msk_GET(reg)   BSP_FLD32GET(reg,0, 28)
 
#define TMS570_DCAN_IF2MSK_Msk_SET(reg, val)   BSP_FLD32SET(reg, val,0, 28)
 
#define TMS570_DCAN_IF2ARB_MsgVal   BSP_BIT32(31)
 
#define TMS570_DCAN_IF2ARB_Xtd   BSP_BIT32(30)
 
#define TMS570_DCAN_IF2ARB_Dir   BSP_BIT32(29)
 
#define TMS570_DCAN_IF2ARB_ID(val)   BSP_FLD32(val,0, 28)
 
#define TMS570_DCAN_IF2ARB_ID_GET(reg)   BSP_FLD32GET(reg,0, 28)
 
#define TMS570_DCAN_IF2ARB_ID_SET(reg, val)   BSP_FLD32SET(reg, val,0, 28)
 
#define TMS570_DCAN_IF2MCTL_NewDat   BSP_BIT32(15)
 
#define TMS570_DCAN_IF2MCTL_MsgLst   BSP_BIT32(14)
 
#define TMS570_DCAN_IF2MCTL_IntPnd   BSP_BIT32(13)
 
#define TMS570_DCAN_IF2MCTL_UMask   BSP_BIT32(12)
 
#define TMS570_DCAN_IF2MCTL_TxIE   BSP_BIT32(11)
 
#define TMS570_DCAN_IF2MCTL_RxIE   BSP_BIT32(10)
 
#define TMS570_DCAN_IF2MCTL_RmtEn   BSP_BIT32(9)
 
#define TMS570_DCAN_IF2MCTL_TxRqst   BSP_BIT32(8)
 
#define TMS570_DCAN_IF2MCTL_EoB   BSP_BIT32(7)
 
#define TMS570_DCAN_IF2MCTL_DLC(val)   BSP_FLD32(val,0, 3)
 
#define TMS570_DCAN_IF2MCTL_DLC_GET(reg)   BSP_FLD32GET(reg,0, 3)
 
#define TMS570_DCAN_IF2MCTL_DLC_SET(reg, val)   BSP_FLD32SET(reg, val,0, 3)
 
#define TMS570_DCAN_IF2DATA_Data0(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_DCAN_IF2DATA_Data0_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_DCAN_IF2DATA_Data0_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_DCAN_IF2DATA_Data1(val)   BSP_FLD32(val,8, 15)
 
#define TMS570_DCAN_IF2DATA_Data1_GET(reg)   BSP_FLD32GET(reg,8, 15)
 
#define TMS570_DCAN_IF2DATA_Data1_SET(reg, val)   BSP_FLD32SET(reg, val,8, 15)
 
#define TMS570_DCAN_IF2DATA_Data2(val)   BSP_FLD32(val,16, 23)
 
#define TMS570_DCAN_IF2DATA_Data2_GET(reg)   BSP_FLD32GET(reg,16, 23)
 
#define TMS570_DCAN_IF2DATA_Data2_SET(reg, val)   BSP_FLD32SET(reg, val,16, 23)
 
#define TMS570_DCAN_IF2DATA_Data3(val)   BSP_FLD32(val,24, 31)
 
#define TMS570_DCAN_IF2DATA_Data3_GET(reg)   BSP_FLD32GET(reg,24, 31)
 
#define TMS570_DCAN_IF2DATA_Data3_SET(reg, val)   BSP_FLD32SET(reg, val,24, 31)
 
#define TMS570_DCAN_IF2DATB_Data4(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_DCAN_IF2DATB_Data4_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_DCAN_IF2DATB_Data4_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_DCAN_IF2DATB_Data5(val)   BSP_FLD32(val,8, 15)
 
#define TMS570_DCAN_IF2DATB_Data5_GET(reg)   BSP_FLD32GET(reg,8, 15)
 
#define TMS570_DCAN_IF2DATB_Data5_SET(reg, val)   BSP_FLD32SET(reg, val,8, 15)
 
#define TMS570_DCAN_IF2DATB_Data6(val)   BSP_FLD32(val,16, 23)
 
#define TMS570_DCAN_IF2DATB_Data6_GET(reg)   BSP_FLD32GET(reg,16, 23)
 
#define TMS570_DCAN_IF2DATB_Data6_SET(reg, val)   BSP_FLD32SET(reg, val,16, 23)
 
#define TMS570_DCAN_IF2DATB_Data7(val)   BSP_FLD32(val,24, 31)
 
#define TMS570_DCAN_IF2DATB_Data7_GET(reg)   BSP_FLD32GET(reg,24, 31)
 
#define TMS570_DCAN_IF2DATB_Data7_SET(reg, val)   BSP_FLD32SET(reg, val,24, 31)
 
#define TMS570_DCAN_IF3OBS_IF3_Upd   BSP_BIT32(15)
 
#define TMS570_DCAN_IF3OBS_IF3_SDB   BSP_BIT32(12)
 
#define TMS570_DCAN_IF3OBS_IF3_SDA   BSP_BIT32(11)
 
#define TMS570_DCAN_IF3OBS_IF3_SC   BSP_BIT32(10)
 
#define TMS570_DCAN_IF3OBS_IF3_SA   BSP_BIT32(9)
 
#define TMS570_DCAN_IF3OBS_IF3_SM   BSP_BIT32(8)
 
#define TMS570_DCAN_IF3OBS_Data_B   BSP_BIT32(4)
 
#define TMS570_DCAN_IF3OBS_Data_A   BSP_BIT32(3)
 
#define TMS570_DCAN_IF3OBS_Ctrl   BSP_BIT32(2)
 
#define TMS570_DCAN_IF3OBS_Arb   BSP_BIT32(1)
 
#define TMS570_DCAN_IF3OBS_Mask   BSP_BIT32(0)
 
#define TMS570_DCAN_IF3MSK_MXtd   BSP_BIT32(31)
 
#define TMS570_DCAN_IF3MSK_MDir   BSP_BIT32(30)
 
#define TMS570_DCAN_IF3MSK_Msk(val)   BSP_FLD32(val,0, 28)
 
#define TMS570_DCAN_IF3MSK_Msk_GET(reg)   BSP_FLD32GET(reg,0, 28)
 
#define TMS570_DCAN_IF3MSK_Msk_SET(reg, val)   BSP_FLD32SET(reg, val,0, 28)
 
#define TMS570_DCAN_IF3ARB_MsgVal   BSP_BIT32(31)
 
#define TMS570_DCAN_IF3ARB_Xtd   BSP_BIT32(30)
 
#define TMS570_DCAN_IF3ARB_Dir   BSP_BIT32(29)
 
#define TMS570_DCAN_IF3ARB_ID(val)   BSP_FLD32(val,0, 28)
 
#define TMS570_DCAN_IF3ARB_ID_GET(reg)   BSP_FLD32GET(reg,0, 28)
 
#define TMS570_DCAN_IF3ARB_ID_SET(reg, val)   BSP_FLD32SET(reg, val,0, 28)
 
#define TMS570_DCAN_IF3MCTL_NewDat   BSP_BIT32(15)
 
#define TMS570_DCAN_IF3MCTL_MsgLst   BSP_BIT32(14)
 
#define TMS570_DCAN_IF3MCTL_IntPnd   BSP_BIT32(13)
 
#define TMS570_DCAN_IF3MCTL_UMask   BSP_BIT32(12)
 
#define TMS570_DCAN_IF3MCTL_TxIE   BSP_BIT32(11)
 
#define TMS570_DCAN_IF3MCTL_RxIE   BSP_BIT32(10)
 
#define TMS570_DCAN_IF3MCTL_RmtEn   BSP_BIT32(9)
 
#define TMS570_DCAN_IF3MCTL_TxRqst   BSP_BIT32(8)
 
#define TMS570_DCAN_IF3MCTL_EoB   BSP_BIT32(7)
 
#define TMS570_DCAN_IF3MCTL_DLC(val)   BSP_FLD32(val,0, 3)
 
#define TMS570_DCAN_IF3MCTL_DLC_GET(reg)   BSP_FLD32GET(reg,0, 3)
 
#define TMS570_DCAN_IF3MCTL_DLC_SET(reg, val)   BSP_FLD32SET(reg, val,0, 3)
 
#define TMS570_DCAN_IF3DATA_Data0(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_DCAN_IF3DATA_Data0_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_DCAN_IF3DATA_Data0_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_DCAN_IF3DATA_Data1(val)   BSP_FLD32(val,8, 15)
 
#define TMS570_DCAN_IF3DATA_Data1_GET(reg)   BSP_FLD32GET(reg,8, 15)
 
#define TMS570_DCAN_IF3DATA_Data1_SET(reg, val)   BSP_FLD32SET(reg, val,8, 15)
 
#define TMS570_DCAN_IF3DATA_Data2(val)   BSP_FLD32(val,16, 23)
 
#define TMS570_DCAN_IF3DATA_Data2_GET(reg)   BSP_FLD32GET(reg,16, 23)
 
#define TMS570_DCAN_IF3DATA_Data2_SET(reg, val)   BSP_FLD32SET(reg, val,16, 23)
 
#define TMS570_DCAN_IF3DATA_Data3(val)   BSP_FLD32(val,24, 31)
 
#define TMS570_DCAN_IF3DATA_Data3_GET(reg)   BSP_FLD32GET(reg,24, 31)
 
#define TMS570_DCAN_IF3DATA_Data3_SET(reg, val)   BSP_FLD32SET(reg, val,24, 31)
 
#define TMS570_DCAN_IF3DATB_Data4(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_DCAN_IF3DATB_Data4_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_DCAN_IF3DATB_Data4_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_DCAN_IF3DATB_Data5(val)   BSP_FLD32(val,8, 15)
 
#define TMS570_DCAN_IF3DATB_Data5_GET(reg)   BSP_FLD32GET(reg,8, 15)
 
#define TMS570_DCAN_IF3DATB_Data5_SET(reg, val)   BSP_FLD32SET(reg, val,8, 15)
 
#define TMS570_DCAN_IF3DATB_Data6(val)   BSP_FLD32(val,16, 23)
 
#define TMS570_DCAN_IF3DATB_Data6_GET(reg)   BSP_FLD32GET(reg,16, 23)
 
#define TMS570_DCAN_IF3DATB_Data6_SET(reg, val)   BSP_FLD32SET(reg, val,16, 23)
 
#define TMS570_DCAN_IF3DATB_Data7(val)   BSP_FLD32(val,24, 31)
 
#define TMS570_DCAN_IF3DATB_Data7_GET(reg)   BSP_FLD32GET(reg,24, 31)
 
#define TMS570_DCAN_IF3DATB_Data7_SET(reg, val)   BSP_FLD32SET(reg, val,24, 31)
 
#define TMS570_DCAN_TIOC_PU   BSP_BIT32(18)
 
#define TMS570_DCAN_TIOC_PD   BSP_BIT32(17)
 
#define TMS570_DCAN_TIOC_OD   BSP_BIT32(16)
 
#define TMS570_DCAN_TIOC_Func   BSP_BIT32(3)
 
#define TMS570_DCAN_TIOC_Dir   BSP_BIT32(2)
 
#define TMS570_DCAN_TIOC_Out   BSP_BIT32(1)
 
#define TMS570_DCAN_RIOC_PU   BSP_BIT32(18)
 
#define TMS570_DCAN_RIOC_PD   BSP_BIT32(17)
 
#define TMS570_DCAN_RIOC_OD   BSP_BIT32(16)
 
#define TMS570_DCAN_RIOC_Func   BSP_BIT32(3)
 
#define TMS570_DCAN_RIOC_Dir   BSP_BIT32(2)
 
#define TMS570_DCAN_RIOC_Out   BSP_BIT32(1)
 
#define TMS570_DCAN_RIOC_In   BSP_BIT32(0)
 

Detailed Description

This header file provides DCAN interfaces.