39 #ifndef LIBBSP_ARM_TMS570_DCAN 40 #define LIBBSP_ARM_TMS570_DCAN 51 uint8_t reserved1 [4];
53 uint8_t reserved2 [96];
63 uint8_t reserved3 [4];
65 uint8_t reserved4 [24];
72 uint8_t reserved5 [8];
79 uint8_t reserved6 [8];
86 uint8_t reserved7 [8];
88 uint8_t reserved8 [112];
96 #define TMS570_DCAN_CTL_WUBA BSP_BIT32(25) 99 #define TMS570_DCAN_CTL_PDR BSP_BIT32(24) 102 #define TMS570_DCAN_CTL_DE3 BSP_BIT32(20) 105 #define TMS570_DCAN_CTL_DE2 BSP_BIT32(19) 108 #define TMS570_DCAN_CTL_DE1 BSP_BIT32(18) 111 #define TMS570_DCAN_CTL_IE1 BSP_BIT32(17) 114 #define TMS570_DCAN_CTL_InitDbg BSP_BIT32(16) 117 #define TMS570_DCAN_CTL_SWR BSP_BIT32(15) 120 #define TMS570_DCAN_CTL_PMD(val) BSP_FLD32(val,10, 13) 121 #define TMS570_DCAN_CTL_PMD_GET(reg) BSP_FLD32GET(reg,10, 13) 122 #define TMS570_DCAN_CTL_PMD_SET(reg,val) BSP_FLD32SET(reg, val,10, 13) 125 #define TMS570_DCAN_CTL_ABO BSP_BIT32(9) 128 #define TMS570_DCAN_CTL_IDS BSP_BIT32(8) 131 #define TMS570_DCAN_CTL_Test BSP_BIT32(7) 134 #define TMS570_DCAN_CTL_CCE BSP_BIT32(6) 137 #define TMS570_DCAN_CTL_DAR BSP_BIT32(5) 140 #define TMS570_DCAN_CTL_EIE BSP_BIT32(3) 143 #define TMS570_DCAN_CTL_SIE BSP_BIT32(2) 146 #define TMS570_DCAN_CTL_IE0 BSP_BIT32(1) 149 #define TMS570_DCAN_CTL_Init BSP_BIT32(0) 154 #define TMS570_DCAN_ES_PDA BSP_BIT32(10) 157 #define TMS570_DCAN_ES_WakeUp_Pnd BSP_BIT32(9) 160 #define TMS570_DCAN_ES_PER BSP_BIT32(8) 163 #define TMS570_DCAN_ES_BOff BSP_BIT32(7) 166 #define TMS570_DCAN_ES_EWarn BSP_BIT32(6) 169 #define TMS570_DCAN_ES_EPass BSP_BIT32(5) 172 #define TMS570_DCAN_ES_RxOK BSP_BIT32(4) 175 #define TMS570_DCAN_ES_TxOK BSP_BIT32(3) 178 #define TMS570_DCAN_ES_LEC(val) BSP_FLD32(val,0, 2) 179 #define TMS570_DCAN_ES_LEC_GET(reg) BSP_FLD32GET(reg,0, 2) 180 #define TMS570_DCAN_ES_LEC_SET(reg,val) BSP_FLD32SET(reg, val,0, 2) 185 #define TMS570_DCAN_ERRC_RP BSP_BIT32(15) 188 #define TMS570_DCAN_ERRC_REC(val) BSP_FLD32(val,8, 14) 189 #define TMS570_DCAN_ERRC_REC_GET(reg) BSP_FLD32GET(reg,8, 14) 190 #define TMS570_DCAN_ERRC_REC_SET(reg,val) BSP_FLD32SET(reg, val,8, 14) 193 #define TMS570_DCAN_ERRC_TEC(val) BSP_FLD32(val,0, 7) 194 #define TMS570_DCAN_ERRC_TEC_GET(reg) BSP_FLD32GET(reg,0, 7) 195 #define TMS570_DCAN_ERRC_TEC_SET(reg,val) BSP_FLD32SET(reg, val,0, 7) 200 #define TMS570_DCAN_BTR_BRPE(val) BSP_FLD32(val,16, 19) 201 #define TMS570_DCAN_BTR_BRPE_GET(reg) BSP_FLD32GET(reg,16, 19) 202 #define TMS570_DCAN_BTR_BRPE_SET(reg,val) BSP_FLD32SET(reg, val,16, 19) 205 #define TMS570_DCAN_BTR_TSeg2(val) BSP_FLD32(val,12, 14) 206 #define TMS570_DCAN_BTR_TSeg2_GET(reg) BSP_FLD32GET(reg,12, 14) 207 #define TMS570_DCAN_BTR_TSeg2_SET(reg,val) BSP_FLD32SET(reg, val,12, 14) 210 #define TMS570_DCAN_BTR_TSeg1(val) BSP_FLD32(val,8, 11) 211 #define TMS570_DCAN_BTR_TSeg1_GET(reg) BSP_FLD32GET(reg,8, 11) 212 #define TMS570_DCAN_BTR_TSeg1_SET(reg,val) BSP_FLD32SET(reg, val,8, 11) 215 #define TMS570_DCAN_BTR_SJW(val) BSP_FLD32(val,6, 7) 216 #define TMS570_DCAN_BTR_SJW_GET(reg) BSP_FLD32GET(reg,6, 7) 217 #define TMS570_DCAN_BTR_SJW_SET(reg,val) BSP_FLD32SET(reg, val,6, 7) 220 #define TMS570_DCAN_BTR_BRP(val) BSP_FLD32(val,0, 5) 221 #define TMS570_DCAN_BTR_BRP_GET(reg) BSP_FLD32GET(reg,0, 5) 222 #define TMS570_DCAN_BTR_BRP_SET(reg,val) BSP_FLD32SET(reg, val,0, 5) 227 #define TMS570_DCAN_INT_Int1ID(val) BSP_FLD32(val,16, 23) 228 #define TMS570_DCAN_INT_Int1ID_GET(reg) BSP_FLD32GET(reg,16, 23) 229 #define TMS570_DCAN_INT_Int1ID_SET(reg,val) BSP_FLD32SET(reg, val,16, 23) 232 #define TMS570_DCAN_INT_Int0ID(val) BSP_FLD32(val,0, 15) 233 #define TMS570_DCAN_INT_Int0ID_GET(reg) BSP_FLD32GET(reg,0, 15) 234 #define TMS570_DCAN_INT_Int0ID_SET(reg,val) BSP_FLD32SET(reg, val,0, 15) 239 #define TMS570_DCAN_TEST_RDA BSP_BIT32(9) 242 #define TMS570_DCAN_TEST_EXL BSP_BIT32(8) 245 #define TMS570_DCAN_TEST_Rx BSP_BIT32(7) 248 #define TMS570_DCAN_TEST_Tx(val) BSP_FLD32(val,5, 6) 249 #define TMS570_DCAN_TEST_Tx_GET(reg) BSP_FLD32GET(reg,5, 6) 250 #define TMS570_DCAN_TEST_Tx_SET(reg,val) BSP_FLD32SET(reg, val,5, 6) 253 #define TMS570_DCAN_TEST_LBack BSP_BIT32(4) 256 #define TMS570_DCAN_TEST_Silent BSP_BIT32(3) 261 #define TMS570_DCAN_PERR_Word_Number(val) BSP_FLD32(val,8, 10) 262 #define TMS570_DCAN_PERR_Word_Number_GET(reg) BSP_FLD32GET(reg,8, 10) 263 #define TMS570_DCAN_PERR_Word_Number_SET(reg,val) BSP_FLD32SET(reg, val,8, 10) 266 #define TMS570_DCAN_PERR_Message_Number(val) BSP_FLD32(val,0, 7) 267 #define TMS570_DCAN_PERR_Message_Number_GET(reg) BSP_FLD32GET(reg,0, 7) 268 #define TMS570_DCAN_PERR_Message_Number_SET(reg,val) BSP_FLD32SET(reg, val,0, 7) 277 #define TMS570_DCAN_TXRQX_TxRqstReg8(val) BSP_FLD32(val,14, 15) 278 #define TMS570_DCAN_TXRQX_TxRqstReg8_GET(reg) BSP_FLD32GET(reg,14, 15) 279 #define TMS570_DCAN_TXRQX_TxRqstReg8_SET(reg,val) BSP_FLD32SET(reg, val,14, 15) 282 #define TMS570_DCAN_TXRQX_TxRqstReg7(val) BSP_FLD32(val,12, 13) 283 #define TMS570_DCAN_TXRQX_TxRqstReg7_GET(reg) BSP_FLD32GET(reg,12, 13) 284 #define TMS570_DCAN_TXRQX_TxRqstReg7_SET(reg,val) BSP_FLD32SET(reg, val,12, 13) 287 #define TMS570_DCAN_TXRQX_TxRqstReg6(val) BSP_FLD32(val,10, 11) 288 #define TMS570_DCAN_TXRQX_TxRqstReg6_GET(reg) BSP_FLD32GET(reg,10, 11) 289 #define TMS570_DCAN_TXRQX_TxRqstReg6_SET(reg,val) BSP_FLD32SET(reg, val,10, 11) 292 #define TMS570_DCAN_TXRQX_TxRqstReg5(val) BSP_FLD32(val,8, 9) 293 #define TMS570_DCAN_TXRQX_TxRqstReg5_GET(reg) BSP_FLD32GET(reg,8, 9) 294 #define TMS570_DCAN_TXRQX_TxRqstReg5_SET(reg,val) BSP_FLD32SET(reg, val,8, 9) 297 #define TMS570_DCAN_TXRQX_TxRqstReg4(val) BSP_FLD32(val,6, 7) 298 #define TMS570_DCAN_TXRQX_TxRqstReg4_GET(reg) BSP_FLD32GET(reg,6, 7) 299 #define TMS570_DCAN_TXRQX_TxRqstReg4_SET(reg,val) BSP_FLD32SET(reg, val,6, 7) 302 #define TMS570_DCAN_TXRQX_TxRqstReg3(val) BSP_FLD32(val,4, 5) 303 #define TMS570_DCAN_TXRQX_TxRqstReg3_GET(reg) BSP_FLD32GET(reg,4, 5) 304 #define TMS570_DCAN_TXRQX_TxRqstReg3_SET(reg,val) BSP_FLD32SET(reg, val,4, 5) 307 #define TMS570_DCAN_TXRQX_TxRqstReg2(val) BSP_FLD32(val,2, 3) 308 #define TMS570_DCAN_TXRQX_TxRqstReg2_GET(reg) BSP_FLD32GET(reg,2, 3) 309 #define TMS570_DCAN_TXRQX_TxRqstReg2_SET(reg,val) BSP_FLD32SET(reg, val,2, 3) 312 #define TMS570_DCAN_TXRQX_TxRqstReg1(val) BSP_FLD32(val,0, 1) 313 #define TMS570_DCAN_TXRQX_TxRqstReg1_GET(reg) BSP_FLD32GET(reg,0, 1) 314 #define TMS570_DCAN_TXRQX_TxRqstReg1_SET(reg,val) BSP_FLD32SET(reg, val,0, 1) 323 #define TMS570_DCAN_NWDATX_NewDatReg8(val) BSP_FLD32(val,14, 15) 324 #define TMS570_DCAN_NWDATX_NewDatReg8_GET(reg) BSP_FLD32GET(reg,14, 15) 325 #define TMS570_DCAN_NWDATX_NewDatReg8_SET(reg,val) BSP_FLD32SET(reg, val,14, 15) 328 #define TMS570_DCAN_NWDATX_NewDatReg7(val) BSP_FLD32(val,12, 13) 329 #define TMS570_DCAN_NWDATX_NewDatReg7_GET(reg) BSP_FLD32GET(reg,12, 13) 330 #define TMS570_DCAN_NWDATX_NewDatReg7_SET(reg,val) BSP_FLD32SET(reg, val,12, 13) 333 #define TMS570_DCAN_NWDATX_NewDatReg6(val) BSP_FLD32(val,10, 11) 334 #define TMS570_DCAN_NWDATX_NewDatReg6_GET(reg) BSP_FLD32GET(reg,10, 11) 335 #define TMS570_DCAN_NWDATX_NewDatReg6_SET(reg,val) BSP_FLD32SET(reg, val,10, 11) 338 #define TMS570_DCAN_NWDATX_NewDatReg5(val) BSP_FLD32(val,8, 9) 339 #define TMS570_DCAN_NWDATX_NewDatReg5_GET(reg) BSP_FLD32GET(reg,8, 9) 340 #define TMS570_DCAN_NWDATX_NewDatReg5_SET(reg,val) BSP_FLD32SET(reg, val,8, 9) 343 #define TMS570_DCAN_NWDATX_NewDatReg4(val) BSP_FLD32(val,6, 7) 344 #define TMS570_DCAN_NWDATX_NewDatReg4_GET(reg) BSP_FLD32GET(reg,6, 7) 345 #define TMS570_DCAN_NWDATX_NewDatReg4_SET(reg,val) BSP_FLD32SET(reg, val,6, 7) 348 #define TMS570_DCAN_NWDATX_NewDatReg3(val) BSP_FLD32(val,4, 5) 349 #define TMS570_DCAN_NWDATX_NewDatReg3_GET(reg) BSP_FLD32GET(reg,4, 5) 350 #define TMS570_DCAN_NWDATX_NewDatReg3_SET(reg,val) BSP_FLD32SET(reg, val,4, 5) 353 #define TMS570_DCAN_NWDATX_NewDatReg2(val) BSP_FLD32(val,2, 3) 354 #define TMS570_DCAN_NWDATX_NewDatReg2_GET(reg) BSP_FLD32GET(reg,2, 3) 355 #define TMS570_DCAN_NWDATX_NewDatReg2_SET(reg,val) BSP_FLD32SET(reg, val,2, 3) 358 #define TMS570_DCAN_NWDATX_NewDatReg1(val) BSP_FLD32(val,0, 1) 359 #define TMS570_DCAN_NWDATX_NewDatReg1_GET(reg) BSP_FLD32GET(reg,0, 1) 360 #define TMS570_DCAN_NWDATX_NewDatReg1_SET(reg,val) BSP_FLD32SET(reg, val,0, 1) 369 #define TMS570_DCAN_INTPNDX_IntPndReg8(val) BSP_FLD32(val,14, 15) 370 #define TMS570_DCAN_INTPNDX_IntPndReg8_GET(reg) BSP_FLD32GET(reg,14, 15) 371 #define TMS570_DCAN_INTPNDX_IntPndReg8_SET(reg,val) BSP_FLD32SET(reg, val,14, 15) 374 #define TMS570_DCAN_INTPNDX_IntPndReg7(val) BSP_FLD32(val,12, 13) 375 #define TMS570_DCAN_INTPNDX_IntPndReg7_GET(reg) BSP_FLD32GET(reg,12, 13) 376 #define TMS570_DCAN_INTPNDX_IntPndReg7_SET(reg,val) BSP_FLD32SET(reg, val,12, 13) 379 #define TMS570_DCAN_INTPNDX_IntPndReg6(val) BSP_FLD32(val,10, 11) 380 #define TMS570_DCAN_INTPNDX_IntPndReg6_GET(reg) BSP_FLD32GET(reg,10, 11) 381 #define TMS570_DCAN_INTPNDX_IntPndReg6_SET(reg,val) BSP_FLD32SET(reg, val,10, 11) 384 #define TMS570_DCAN_INTPNDX_IntPndReg5(val) BSP_FLD32(val,8, 9) 385 #define TMS570_DCAN_INTPNDX_IntPndReg5_GET(reg) BSP_FLD32GET(reg,8, 9) 386 #define TMS570_DCAN_INTPNDX_IntPndReg5_SET(reg,val) BSP_FLD32SET(reg, val,8, 9) 389 #define TMS570_DCAN_INTPNDX_IntPndReg4(val) BSP_FLD32(val,6, 7) 390 #define TMS570_DCAN_INTPNDX_IntPndReg4_GET(reg) BSP_FLD32GET(reg,6, 7) 391 #define TMS570_DCAN_INTPNDX_IntPndReg4_SET(reg,val) BSP_FLD32SET(reg, val,6, 7) 394 #define TMS570_DCAN_INTPNDX_IntPndReg3(val) BSP_FLD32(val,4, 5) 395 #define TMS570_DCAN_INTPNDX_IntPndReg3_GET(reg) BSP_FLD32GET(reg,4, 5) 396 #define TMS570_DCAN_INTPNDX_IntPndReg3_SET(reg,val) BSP_FLD32SET(reg, val,4, 5) 399 #define TMS570_DCAN_INTPNDX_IntPndReg2(val) BSP_FLD32(val,2, 3) 400 #define TMS570_DCAN_INTPNDX_IntPndReg2_GET(reg) BSP_FLD32GET(reg,2, 3) 401 #define TMS570_DCAN_INTPNDX_IntPndReg2_SET(reg,val) BSP_FLD32SET(reg, val,2, 3) 404 #define TMS570_DCAN_INTPNDX_IntPndReg1(val) BSP_FLD32(val,0, 1) 405 #define TMS570_DCAN_INTPNDX_IntPndReg1_GET(reg) BSP_FLD32GET(reg,0, 1) 406 #define TMS570_DCAN_INTPNDX_IntPndReg1_SET(reg,val) BSP_FLD32SET(reg, val,0, 1) 415 #define TMS570_DCAN_MSGVALX_MsgValReg8(val) BSP_FLD32(val,14, 15) 416 #define TMS570_DCAN_MSGVALX_MsgValReg8_GET(reg) BSP_FLD32GET(reg,14, 15) 417 #define TMS570_DCAN_MSGVALX_MsgValReg8_SET(reg,val) BSP_FLD32SET(reg, val,14, 15) 420 #define TMS570_DCAN_MSGVALX_MsgValReg7(val) BSP_FLD32(val,12, 13) 421 #define TMS570_DCAN_MSGVALX_MsgValReg7_GET(reg) BSP_FLD32GET(reg,12, 13) 422 #define TMS570_DCAN_MSGVALX_MsgValReg7_SET(reg,val) BSP_FLD32SET(reg, val,12, 13) 425 #define TMS570_DCAN_MSGVALX_MsgValReg6(val) BSP_FLD32(val,10, 11) 426 #define TMS570_DCAN_MSGVALX_MsgValReg6_GET(reg) BSP_FLD32GET(reg,10, 11) 427 #define TMS570_DCAN_MSGVALX_MsgValReg6_SET(reg,val) BSP_FLD32SET(reg, val,10, 11) 430 #define TMS570_DCAN_MSGVALX_MsgValReg5(val) BSP_FLD32(val,8, 9) 431 #define TMS570_DCAN_MSGVALX_MsgValReg5_GET(reg) BSP_FLD32GET(reg,8, 9) 432 #define TMS570_DCAN_MSGVALX_MsgValReg5_SET(reg,val) BSP_FLD32SET(reg, val,8, 9) 435 #define TMS570_DCAN_MSGVALX_MsgValReg4(val) BSP_FLD32(val,6, 7) 436 #define TMS570_DCAN_MSGVALX_MsgValReg4_GET(reg) BSP_FLD32GET(reg,6, 7) 437 #define TMS570_DCAN_MSGVALX_MsgValReg4_SET(reg,val) BSP_FLD32SET(reg, val,6, 7) 440 #define TMS570_DCAN_MSGVALX_MsgValReg3(val) BSP_FLD32(val,4, 5) 441 #define TMS570_DCAN_MSGVALX_MsgValReg3_GET(reg) BSP_FLD32GET(reg,4, 5) 442 #define TMS570_DCAN_MSGVALX_MsgValReg3_SET(reg,val) BSP_FLD32SET(reg, val,4, 5) 445 #define TMS570_DCAN_MSGVALX_MsgValReg2(val) BSP_FLD32(val,2, 3) 446 #define TMS570_DCAN_MSGVALX_MsgValReg2_GET(reg) BSP_FLD32GET(reg,2, 3) 447 #define TMS570_DCAN_MSGVALX_MsgValReg2_SET(reg,val) BSP_FLD32SET(reg, val,2, 3) 450 #define TMS570_DCAN_MSGVALX_MsgValReg1(val) BSP_FLD32(val,0, 1) 451 #define TMS570_DCAN_MSGVALX_MsgValReg1_GET(reg) BSP_FLD32GET(reg,0, 1) 452 #define TMS570_DCAN_MSGVALX_MsgValReg1_SET(reg,val) BSP_FLD32SET(reg, val,0, 1) 465 #define TMS570_DCAN_IF1CMD_WR_RD BSP_BIT32(23) 468 #define TMS570_DCAN_IF1CMD_Mask BSP_BIT32(22) 471 #define TMS570_DCAN_IF1CMD_Arb BSP_BIT32(21) 474 #define TMS570_DCAN_IF1CMD_Control BSP_BIT32(20) 477 #define TMS570_DCAN_IF1CMD_ClrIntPnd BSP_BIT32(19) 480 #define TMS570_DCAN_IF1CMD_TxRqst_NewDat BSP_BIT32(18) 483 #define TMS570_DCAN_IF1CMD_Data_A BSP_BIT32(17) 486 #define TMS570_DCAN_IF1CMD_Data_B BSP_BIT32(16) 489 #define TMS570_DCAN_IF1CMD_Busy BSP_BIT32(15) 492 #define TMS570_DCAN_IF1CMD_DMA_Active BSP_BIT32(14) 495 #define TMS570_DCAN_IF1CMD_Message_Number(val) BSP_FLD32(val,0, 7) 496 #define TMS570_DCAN_IF1CMD_Message_Number_GET(reg) BSP_FLD32GET(reg,0, 7) 497 #define TMS570_DCAN_IF1CMD_Message_Number_SET(reg,val) BSP_FLD32SET(reg, val,0, 7) 502 #define TMS570_DCAN_IF1MSK_MXtd BSP_BIT32(31) 505 #define TMS570_DCAN_IF1MSK_MDir BSP_BIT32(30) 508 #define TMS570_DCAN_IF1MSK_Msk(val) BSP_FLD32(val,0, 28) 509 #define TMS570_DCAN_IF1MSK_Msk_GET(reg) BSP_FLD32GET(reg,0, 28) 510 #define TMS570_DCAN_IF1MSK_Msk_SET(reg,val) BSP_FLD32SET(reg, val,0, 28) 515 #define TMS570_DCAN_IF1ARB_MsgVal BSP_BIT32(31) 518 #define TMS570_DCAN_IF1ARB_Xtd BSP_BIT32(30) 521 #define TMS570_DCAN_IF1ARB_Dir BSP_BIT32(29) 524 #define TMS570_DCAN_IF1ARB_ID(val) BSP_FLD32(val,0, 28) 525 #define TMS570_DCAN_IF1ARB_ID_GET(reg) BSP_FLD32GET(reg,0, 28) 526 #define TMS570_DCAN_IF1ARB_ID_SET(reg,val) BSP_FLD32SET(reg, val,0, 28) 531 #define TMS570_DCAN_IF1MCTL_NewDat BSP_BIT32(15) 534 #define TMS570_DCAN_IF1MCTL_MsgLst BSP_BIT32(14) 537 #define TMS570_DCAN_IF1MCTL_IntPnd BSP_BIT32(13) 540 #define TMS570_DCAN_IF1MCTL_UMask BSP_BIT32(12) 543 #define TMS570_DCAN_IF1MCTL_TxIE BSP_BIT32(11) 546 #define TMS570_DCAN_IF1MCTL_RxIE BSP_BIT32(10) 549 #define TMS570_DCAN_IF1MCTL_RmtEn BSP_BIT32(9) 552 #define TMS570_DCAN_IF1MCTL_TxRqst BSP_BIT32(8) 555 #define TMS570_DCAN_IF1MCTL_EoB BSP_BIT32(7) 558 #define TMS570_DCAN_IF1MCTL_DLC(val) BSP_FLD32(val,0, 3) 559 #define TMS570_DCAN_IF1MCTL_DLC_GET(reg) BSP_FLD32GET(reg,0, 3) 560 #define TMS570_DCAN_IF1MCTL_DLC_SET(reg,val) BSP_FLD32SET(reg, val,0, 3) 565 #define TMS570_DCAN_IF1DATA_Data0(val) BSP_FLD32(val,0, 7) 566 #define TMS570_DCAN_IF1DATA_Data0_GET(reg) BSP_FLD32GET(reg,0, 7) 567 #define TMS570_DCAN_IF1DATA_Data0_SET(reg,val) BSP_FLD32SET(reg, val,0, 7) 570 #define TMS570_DCAN_IF1DATA_Data1(val) BSP_FLD32(val,8, 15) 571 #define TMS570_DCAN_IF1DATA_Data1_GET(reg) BSP_FLD32GET(reg,8, 15) 572 #define TMS570_DCAN_IF1DATA_Data1_SET(reg,val) BSP_FLD32SET(reg, val,8, 15) 575 #define TMS570_DCAN_IF1DATA_Data2(val) BSP_FLD32(val,16, 23) 576 #define TMS570_DCAN_IF1DATA_Data2_GET(reg) BSP_FLD32GET(reg,16, 23) 577 #define TMS570_DCAN_IF1DATA_Data2_SET(reg,val) BSP_FLD32SET(reg, val,16, 23) 580 #define TMS570_DCAN_IF1DATA_Data3(val) BSP_FLD32(val,24, 31) 581 #define TMS570_DCAN_IF1DATA_Data3_GET(reg) BSP_FLD32GET(reg,24, 31) 582 #define TMS570_DCAN_IF1DATA_Data3_SET(reg,val) BSP_FLD32SET(reg, val,24, 31) 587 #define TMS570_DCAN_IF1DATB_Data4(val) BSP_FLD32(val,0, 7) 588 #define TMS570_DCAN_IF1DATB_Data4_GET(reg) BSP_FLD32GET(reg,0, 7) 589 #define TMS570_DCAN_IF1DATB_Data4_SET(reg,val) BSP_FLD32SET(reg, val,0, 7) 592 #define TMS570_DCAN_IF1DATB_Data5(val) BSP_FLD32(val,8, 15) 593 #define TMS570_DCAN_IF1DATB_Data5_GET(reg) BSP_FLD32GET(reg,8, 15) 594 #define TMS570_DCAN_IF1DATB_Data5_SET(reg,val) BSP_FLD32SET(reg, val,8, 15) 597 #define TMS570_DCAN_IF1DATB_Data6(val) BSP_FLD32(val,16, 23) 598 #define TMS570_DCAN_IF1DATB_Data6_GET(reg) BSP_FLD32GET(reg,16, 23) 599 #define TMS570_DCAN_IF1DATB_Data6_SET(reg,val) BSP_FLD32SET(reg, val,16, 23) 602 #define TMS570_DCAN_IF1DATB_Data7(val) BSP_FLD32(val,24, 31) 603 #define TMS570_DCAN_IF1DATB_Data7_GET(reg) BSP_FLD32GET(reg,24, 31) 604 #define TMS570_DCAN_IF1DATB_Data7_SET(reg,val) BSP_FLD32SET(reg, val,24, 31) 609 #define TMS570_DCAN_IF2CMD_WR_RD BSP_BIT32(23) 612 #define TMS570_DCAN_IF2CMD_Mask BSP_BIT32(22) 615 #define TMS570_DCAN_IF2CMD_Arb BSP_BIT32(21) 618 #define TMS570_DCAN_IF2CMD_Control BSP_BIT32(20) 621 #define TMS570_DCAN_IF2CMD_ClrIntPnd BSP_BIT32(19) 624 #define TMS570_DCAN_IF2CMD_TxRqst_NewDat BSP_BIT32(18) 627 #define TMS570_DCAN_IF2CMD_Data_A BSP_BIT32(17) 630 #define TMS570_DCAN_IF2CMD_Data_B BSP_BIT32(16) 633 #define TMS570_DCAN_IF2CMD_Busy BSP_BIT32(15) 636 #define TMS570_DCAN_IF2CMD_DMA_Active BSP_BIT32(14) 639 #define TMS570_DCAN_IF2CMD_Message_Number(val) BSP_FLD32(val,0, 7) 640 #define TMS570_DCAN_IF2CMD_Message_Number_GET(reg) BSP_FLD32GET(reg,0, 7) 641 #define TMS570_DCAN_IF2CMD_Message_Number_SET(reg,val) BSP_FLD32SET(reg, val,0, 7) 646 #define TMS570_DCAN_IF2MSK_MXtd BSP_BIT32(31) 649 #define TMS570_DCAN_IF2MSK_MDir BSP_BIT32(30) 652 #define TMS570_DCAN_IF2MSK_Msk(val) BSP_FLD32(val,0, 28) 653 #define TMS570_DCAN_IF2MSK_Msk_GET(reg) BSP_FLD32GET(reg,0, 28) 654 #define TMS570_DCAN_IF2MSK_Msk_SET(reg,val) BSP_FLD32SET(reg, val,0, 28) 659 #define TMS570_DCAN_IF2ARB_MsgVal BSP_BIT32(31) 662 #define TMS570_DCAN_IF2ARB_Xtd BSP_BIT32(30) 665 #define TMS570_DCAN_IF2ARB_Dir BSP_BIT32(29) 668 #define TMS570_DCAN_IF2ARB_ID(val) BSP_FLD32(val,0, 28) 669 #define TMS570_DCAN_IF2ARB_ID_GET(reg) BSP_FLD32GET(reg,0, 28) 670 #define TMS570_DCAN_IF2ARB_ID_SET(reg,val) BSP_FLD32SET(reg, val,0, 28) 675 #define TMS570_DCAN_IF2MCTL_NewDat BSP_BIT32(15) 678 #define TMS570_DCAN_IF2MCTL_MsgLst BSP_BIT32(14) 681 #define TMS570_DCAN_IF2MCTL_IntPnd BSP_BIT32(13) 684 #define TMS570_DCAN_IF2MCTL_UMask BSP_BIT32(12) 687 #define TMS570_DCAN_IF2MCTL_TxIE BSP_BIT32(11) 690 #define TMS570_DCAN_IF2MCTL_RxIE BSP_BIT32(10) 693 #define TMS570_DCAN_IF2MCTL_RmtEn BSP_BIT32(9) 696 #define TMS570_DCAN_IF2MCTL_TxRqst BSP_BIT32(8) 699 #define TMS570_DCAN_IF2MCTL_EoB BSP_BIT32(7) 702 #define TMS570_DCAN_IF2MCTL_DLC(val) BSP_FLD32(val,0, 3) 703 #define TMS570_DCAN_IF2MCTL_DLC_GET(reg) BSP_FLD32GET(reg,0, 3) 704 #define TMS570_DCAN_IF2MCTL_DLC_SET(reg,val) BSP_FLD32SET(reg, val,0, 3) 709 #define TMS570_DCAN_IF2DATA_Data0(val) BSP_FLD32(val,0, 7) 710 #define TMS570_DCAN_IF2DATA_Data0_GET(reg) BSP_FLD32GET(reg,0, 7) 711 #define TMS570_DCAN_IF2DATA_Data0_SET(reg,val) BSP_FLD32SET(reg, val,0, 7) 714 #define TMS570_DCAN_IF2DATA_Data1(val) BSP_FLD32(val,8, 15) 715 #define TMS570_DCAN_IF2DATA_Data1_GET(reg) BSP_FLD32GET(reg,8, 15) 716 #define TMS570_DCAN_IF2DATA_Data1_SET(reg,val) BSP_FLD32SET(reg, val,8, 15) 719 #define TMS570_DCAN_IF2DATA_Data2(val) BSP_FLD32(val,16, 23) 720 #define TMS570_DCAN_IF2DATA_Data2_GET(reg) BSP_FLD32GET(reg,16, 23) 721 #define TMS570_DCAN_IF2DATA_Data2_SET(reg,val) BSP_FLD32SET(reg, val,16, 23) 724 #define TMS570_DCAN_IF2DATA_Data3(val) BSP_FLD32(val,24, 31) 725 #define TMS570_DCAN_IF2DATA_Data3_GET(reg) BSP_FLD32GET(reg,24, 31) 726 #define TMS570_DCAN_IF2DATA_Data3_SET(reg,val) BSP_FLD32SET(reg, val,24, 31) 731 #define TMS570_DCAN_IF2DATB_Data4(val) BSP_FLD32(val,0, 7) 732 #define TMS570_DCAN_IF2DATB_Data4_GET(reg) BSP_FLD32GET(reg,0, 7) 733 #define TMS570_DCAN_IF2DATB_Data4_SET(reg,val) BSP_FLD32SET(reg, val,0, 7) 736 #define TMS570_DCAN_IF2DATB_Data5(val) BSP_FLD32(val,8, 15) 737 #define TMS570_DCAN_IF2DATB_Data5_GET(reg) BSP_FLD32GET(reg,8, 15) 738 #define TMS570_DCAN_IF2DATB_Data5_SET(reg,val) BSP_FLD32SET(reg, val,8, 15) 741 #define TMS570_DCAN_IF2DATB_Data6(val) BSP_FLD32(val,16, 23) 742 #define TMS570_DCAN_IF2DATB_Data6_GET(reg) BSP_FLD32GET(reg,16, 23) 743 #define TMS570_DCAN_IF2DATB_Data6_SET(reg,val) BSP_FLD32SET(reg, val,16, 23) 746 #define TMS570_DCAN_IF2DATB_Data7(val) BSP_FLD32(val,24, 31) 747 #define TMS570_DCAN_IF2DATB_Data7_GET(reg) BSP_FLD32GET(reg,24, 31) 748 #define TMS570_DCAN_IF2DATB_Data7_SET(reg,val) BSP_FLD32SET(reg, val,24, 31) 753 #define TMS570_DCAN_IF3OBS_IF3_Upd BSP_BIT32(15) 756 #define TMS570_DCAN_IF3OBS_IF3_SDB BSP_BIT32(12) 759 #define TMS570_DCAN_IF3OBS_IF3_SDA BSP_BIT32(11) 762 #define TMS570_DCAN_IF3OBS_IF3_SC BSP_BIT32(10) 765 #define TMS570_DCAN_IF3OBS_IF3_SA BSP_BIT32(9) 768 #define TMS570_DCAN_IF3OBS_IF3_SM BSP_BIT32(8) 771 #define TMS570_DCAN_IF3OBS_Data_B BSP_BIT32(4) 774 #define TMS570_DCAN_IF3OBS_Data_A BSP_BIT32(3) 777 #define TMS570_DCAN_IF3OBS_Ctrl BSP_BIT32(2) 780 #define TMS570_DCAN_IF3OBS_Arb BSP_BIT32(1) 783 #define TMS570_DCAN_IF3OBS_Mask BSP_BIT32(0) 788 #define TMS570_DCAN_IF3MSK_MXtd BSP_BIT32(31) 791 #define TMS570_DCAN_IF3MSK_MDir BSP_BIT32(30) 794 #define TMS570_DCAN_IF3MSK_Msk(val) BSP_FLD32(val,0, 28) 795 #define TMS570_DCAN_IF3MSK_Msk_GET(reg) BSP_FLD32GET(reg,0, 28) 796 #define TMS570_DCAN_IF3MSK_Msk_SET(reg,val) BSP_FLD32SET(reg, val,0, 28) 801 #define TMS570_DCAN_IF3ARB_MsgVal BSP_BIT32(31) 804 #define TMS570_DCAN_IF3ARB_Xtd BSP_BIT32(30) 807 #define TMS570_DCAN_IF3ARB_Dir BSP_BIT32(29) 810 #define TMS570_DCAN_IF3ARB_ID(val) BSP_FLD32(val,0, 28) 811 #define TMS570_DCAN_IF3ARB_ID_GET(reg) BSP_FLD32GET(reg,0, 28) 812 #define TMS570_DCAN_IF3ARB_ID_SET(reg,val) BSP_FLD32SET(reg, val,0, 28) 817 #define TMS570_DCAN_IF3MCTL_NewDat BSP_BIT32(15) 820 #define TMS570_DCAN_IF3MCTL_MsgLst BSP_BIT32(14) 823 #define TMS570_DCAN_IF3MCTL_IntPnd BSP_BIT32(13) 826 #define TMS570_DCAN_IF3MCTL_UMask BSP_BIT32(12) 829 #define TMS570_DCAN_IF3MCTL_TxIE BSP_BIT32(11) 832 #define TMS570_DCAN_IF3MCTL_RxIE BSP_BIT32(10) 835 #define TMS570_DCAN_IF3MCTL_RmtEn BSP_BIT32(9) 838 #define TMS570_DCAN_IF3MCTL_TxRqst BSP_BIT32(8) 841 #define TMS570_DCAN_IF3MCTL_EoB BSP_BIT32(7) 844 #define TMS570_DCAN_IF3MCTL_DLC(val) BSP_FLD32(val,0, 3) 845 #define TMS570_DCAN_IF3MCTL_DLC_GET(reg) BSP_FLD32GET(reg,0, 3) 846 #define TMS570_DCAN_IF3MCTL_DLC_SET(reg,val) BSP_FLD32SET(reg, val,0, 3) 851 #define TMS570_DCAN_IF3DATA_Data0(val) BSP_FLD32(val,0, 7) 852 #define TMS570_DCAN_IF3DATA_Data0_GET(reg) BSP_FLD32GET(reg,0, 7) 853 #define TMS570_DCAN_IF3DATA_Data0_SET(reg,val) BSP_FLD32SET(reg, val,0, 7) 856 #define TMS570_DCAN_IF3DATA_Data1(val) BSP_FLD32(val,8, 15) 857 #define TMS570_DCAN_IF3DATA_Data1_GET(reg) BSP_FLD32GET(reg,8, 15) 858 #define TMS570_DCAN_IF3DATA_Data1_SET(reg,val) BSP_FLD32SET(reg, val,8, 15) 861 #define TMS570_DCAN_IF3DATA_Data2(val) BSP_FLD32(val,16, 23) 862 #define TMS570_DCAN_IF3DATA_Data2_GET(reg) BSP_FLD32GET(reg,16, 23) 863 #define TMS570_DCAN_IF3DATA_Data2_SET(reg,val) BSP_FLD32SET(reg, val,16, 23) 866 #define TMS570_DCAN_IF3DATA_Data3(val) BSP_FLD32(val,24, 31) 867 #define TMS570_DCAN_IF3DATA_Data3_GET(reg) BSP_FLD32GET(reg,24, 31) 868 #define TMS570_DCAN_IF3DATA_Data3_SET(reg,val) BSP_FLD32SET(reg, val,24, 31) 873 #define TMS570_DCAN_IF3DATB_Data4(val) BSP_FLD32(val,0, 7) 874 #define TMS570_DCAN_IF3DATB_Data4_GET(reg) BSP_FLD32GET(reg,0, 7) 875 #define TMS570_DCAN_IF3DATB_Data4_SET(reg,val) BSP_FLD32SET(reg, val,0, 7) 878 #define TMS570_DCAN_IF3DATB_Data5(val) BSP_FLD32(val,8, 15) 879 #define TMS570_DCAN_IF3DATB_Data5_GET(reg) BSP_FLD32GET(reg,8, 15) 880 #define TMS570_DCAN_IF3DATB_Data5_SET(reg,val) BSP_FLD32SET(reg, val,8, 15) 883 #define TMS570_DCAN_IF3DATB_Data6(val) BSP_FLD32(val,16, 23) 884 #define TMS570_DCAN_IF3DATB_Data6_GET(reg) BSP_FLD32GET(reg,16, 23) 885 #define TMS570_DCAN_IF3DATB_Data6_SET(reg,val) BSP_FLD32SET(reg, val,16, 23) 888 #define TMS570_DCAN_IF3DATB_Data7(val) BSP_FLD32(val,24, 31) 889 #define TMS570_DCAN_IF3DATB_Data7_GET(reg) BSP_FLD32GET(reg,24, 31) 890 #define TMS570_DCAN_IF3DATB_Data7_SET(reg,val) BSP_FLD32SET(reg, val,24, 31) 899 #define TMS570_DCAN_TIOC_PU BSP_BIT32(18) 902 #define TMS570_DCAN_TIOC_PD BSP_BIT32(17) 905 #define TMS570_DCAN_TIOC_OD BSP_BIT32(16) 908 #define TMS570_DCAN_TIOC_Func BSP_BIT32(3) 911 #define TMS570_DCAN_TIOC_Dir BSP_BIT32(2) 914 #define TMS570_DCAN_TIOC_Out BSP_BIT32(1) 919 #define TMS570_DCAN_RIOC_PU BSP_BIT32(18) 922 #define TMS570_DCAN_RIOC_PD BSP_BIT32(17) 925 #define TMS570_DCAN_RIOC_OD BSP_BIT32(16) 928 #define TMS570_DCAN_RIOC_Func BSP_BIT32(3) 931 #define TMS570_DCAN_RIOC_Dir BSP_BIT32(2) 934 #define TMS570_DCAN_RIOC_Out BSP_BIT32(1) 937 #define TMS570_DCAN_RIOC_In BSP_BIT32(0)
Definition: reg_dcan.h:44