Home
last modified time | relevance | path

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

/hal_nuvoton-2.7.6/m48x/StdDriver/src/
Dcan.c283 if(tCAN->IF[1].MCON & CAN_IF_MCON_NEWDAT_Msk) /* check new data */ in CAN_WaitMsg()
419 tCAN->IF[0].MCON = (tCAN->IF[0].MCON & (~CAN_IF_MCON_DLC_Msk)) | pCanMsg->DLC; in CAN_BasicSendMsg()
474 if((tCAN->IF[1].MCON & CAN_IF_MCON_NEWDAT_Msk) == 0ul) in CAN_BasicReceiveMsg()
506 pCanMsg->DLC = (uint8_t)(tCAN->IF[1].MCON & CAN_IF_MCON_DLC_Msk); in CAN_BasicReceiveMsg()
569 tCAN->IF[u32MsgIfNum].MCON = CAN_IF_MCON_UMASK_Msk | CAN_IF_MCON_RXIE_Msk; in CAN_SetRxMsgObjAndMsk()
572 tCAN->IF[u32MsgIfNum].MCON |= CAN_IF_MCON_EOB_Msk; in CAN_SetRxMsgObjAndMsk()
576 tCAN->IF[u32MsgIfNum].MCON &= (~CAN_IF_MCON_EOB_Msk); in CAN_SetRxMsgObjAndMsk()
636 tCAN->IF[u32MsgIfNum].MCON = CAN_IF_MCON_UMASK_Msk | CAN_IF_MCON_RXIE_Msk; in CAN_SetRxMsgObj()
639 tCAN->IF[u32MsgIfNum].MCON |= CAN_IF_MCON_EOB_Msk; in CAN_SetRxMsgObj()
643 tCAN->IF[u32MsgIfNum].MCON &= (~CAN_IF_MCON_EOB_Msk); in CAN_SetRxMsgObj()
[all …]
/hal_nuvoton-2.7.6/m48x/Devices/M480/Include/
Dcan_reg.h253 …__IO uint32_t MCON; /*!< [0x0038] IFn Message Control Register … member