Lines Matching refs:ARB2

400         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()
627 tCAN->IF[u32MsgIfNum].ARB2 = CAN_IF_ARB2_MSGVAL_Msk | (u32id & 0x7FFul) << 2; in CAN_SetRxMsgObj()
632 …tCAN->IF[u32MsgIfNum].ARB2 = CAN_IF_ARB2_MSGVAL_Msk | CAN_IF_ARB2_XTD_Msk | (u32id & 0x1FFF0000ul)… in CAN_SetRxMsgObj()
707 if((tCAN->IF[u32MsgIfNum].ARB2 & CAN_IF_ARB2_XTD_Msk) == 0ul) in CAN_ReadMsgObj()
711 pCanMsg->Id = (tCAN->IF[u32MsgIfNum].ARB2 & CAN_IF_ARB2_ID_Msk) >> 2ul; in CAN_ReadMsgObj()
717 … pCanMsg->Id = (((tCAN->IF[u32MsgIfNum].ARB2) & 0x1FFFul) << 16) | tCAN->IF[u32MsgIfNum].ARB1; in CAN_ReadMsgObj()
947 …tCAN->IF[u32MsgIfNum].ARB2 = (((pCanMsg->Id) & 0x7FFul) << 2) | CAN_IF_ARB2_DIR_Msk | CAN_IF_ARB2_… in CAN_SetTxMsg()
953 tCAN->IF[u32MsgIfNum].ARB2 = ((pCanMsg->Id) & 0x1FFF0000ul) >> 16 | in CAN_SetTxMsg()
959 tCAN->IF[u32MsgIfNum].ARB2 |= CAN_IF_ARB2_DIR_Msk; in CAN_SetTxMsg()
963 tCAN->IF[u32MsgIfNum].ARB2 &= (~CAN_IF_ARB2_DIR_Msk); in CAN_SetTxMsg()