Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/imx/drivers/
Dflexcan.c381 flexcan_msgbuf_t* FLEXCAN_GetMsgBufPtr(CAN_Type* base, uint8_t msgBufIdx) in FLEXCAN_GetMsgBufPtr() argument
383 assert(msgBufIdx < CAN_CS_COUNT); in FLEXCAN_GetMsgBufPtr()
385 return (flexcan_msgbuf_t*) &base->MB[msgBufIdx]; in FLEXCAN_GetMsgBufPtr()
394 bool FLEXCAN_LockRxMsgBuf(CAN_Type* base, uint8_t msgBufIdx) in FLEXCAN_LockRxMsgBuf() argument
399 if (msgBufIdx > (CAN_MCR_REG(base) & CAN_MCR_MAXMB_MASK)) in FLEXCAN_LockRxMsgBuf()
403 temp = base->MB[msgBufIdx].CS; in FLEXCAN_LockRxMsgBuf()
432 void FLEXCAN_SetMsgBufIntCmd(CAN_Type* base, uint8_t msgBufIdx, bool enable) in FLEXCAN_SetMsgBufIntCmd() argument
437 assert(msgBufIdx < CAN_CS_COUNT); in FLEXCAN_SetMsgBufIntCmd()
439 if (msgBufIdx > 0x31) in FLEXCAN_SetMsgBufIntCmd()
441 index = msgBufIdx - 32; in FLEXCAN_SetMsgBufIntCmd()
[all …]
Dflexcan.h374 flexcan_msgbuf_t* FLEXCAN_GetMsgBufPtr(CAN_Type* base, uint8_t msgBufIdx);
384 bool FLEXCAN_LockRxMsgBuf(CAN_Type* base, uint8_t msgBufIdx);
410 void FLEXCAN_SetMsgBufIntCmd(CAN_Type* base, uint8_t msgBufIdx, bool enable);
420 bool FLEXCAN_GetMsgBufStatusFlag(CAN_Type* base, uint8_t msgBufIdx);
428 void FLEXCAN_ClearMsgBufStatusFlag(CAN_Type* base, uint32_t msgBufIdx);
561 void FLEXCAN_SetRxIndividualMask(CAN_Type* base, uint32_t msgBufIdx, uint32_t mask);