Home
last modified time | relevance | path

Searched refs:ARB2 (Results 1 – 2 of 2) sorted by relevance

/hal_nuvoton-2.7.6/m48x/StdDriver/src/
Dcan.c400 tCAN->IF[0].ARB2 = (((pCanMsg->Id) & 0x7FFul) << 2ul) ; in CAN_BasicSendMsg()
406 tCAN->IF[0].ARB2 = ((pCanMsg->Id) & 0x1FFF0000ul) >> 16ul | CAN_IF_ARB2_XTD_Msk; in CAN_BasicSendMsg()
412 tCAN->IF[0].ARB2 |= CAN_IF_ARB2_DIR_Msk; in CAN_BasicSendMsg()
416 tCAN->IF[0].ARB2 &= (~CAN_IF_ARB2_DIR_Msk); in CAN_BasicSendMsg()
489 if((tCAN->IF[1].ARB2 & CAN_IF_ARB2_XTD_Msk) == 0ul) in CAN_BasicReceiveMsg()
493 pCanMsg->Id = (tCAN->IF[1].ARB2 >> 2) & 0x07FFul; in CAN_BasicReceiveMsg()
500 pCanMsg->Id = (tCAN->IF[1].ARB2 & 0x1FFFul) << 16; in CAN_BasicReceiveMsg()
504 …pCanMsg->FrameType = (((tCAN->IF[1].ARB2 & CAN_IF_ARB2_DIR_Msk) >> CAN_IF_ARB2_DIR_Pos)) ? 0ul : 1… in CAN_BasicReceiveMsg()
557 tCAN->IF[u32MsgIfNum].ARB2 = CAN_IF_ARB2_MSGVAL_Msk | (u32id & 0x7FFul) << 2; in CAN_SetRxMsgObjAndMsk()
562 …tCAN->IF[u32MsgIfNum].ARB2 = CAN_IF_ARB2_MSGVAL_Msk | CAN_IF_ARB2_XTD_Msk | (u32id & 0x1FFF0000ul)… in CAN_SetRxMsgObjAndMsk()
[all …]
/hal_nuvoton-2.7.6/m48x/Devices/M480/Include/
Dcan_reg.h252 …__IO uint32_t ARB2; /*!< [0x0034] IFn Arbitration 2 Register … member