Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/mcan/
Dfsl_mcan.c1545 assert(xfer->bufferIdx <= 63U); in MCAN_TransferSendNonBlocking()
1550 if ((uint8_t)kMCAN_StateIdle == handle->bufferState[xfer->bufferIdx]) in MCAN_TransferSendNonBlocking()
1555 handle->bufferState[xfer->bufferIdx] = (uint8_t)kMCAN_StateTxRemote; in MCAN_TransferSendNonBlocking()
1558 handle->bufferFrameBuf[xfer->bufferIdx] = xfer->frame; in MCAN_TransferSendNonBlocking()
1562 handle->bufferState[xfer->bufferIdx] = (uint8_t)kMCAN_StateTxData; in MCAN_TransferSendNonBlocking()
1565 if (kStatus_Success == MCAN_WriteTxBuffer(base, xfer->bufferIdx, xfer->frame)) in MCAN_TransferSendNonBlocking()
1568 MCAN_EnableTransmitBufferInterrupts(base, xfer->bufferIdx); in MCAN_TransferSendNonBlocking()
1571 MCAN_TransmitAddRequest(base, xfer->bufferIdx); in MCAN_TransferSendNonBlocking()
1577 handle->bufferState[xfer->bufferIdx] = (uint8_t)kMCAN_StateIdle; in MCAN_TransferSendNonBlocking()
1651 void MCAN_TransferAbortSend(CAN_Type *base, mcan_handle_t *handle, uint8_t bufferIdx) in MCAN_TransferAbortSend() argument
[all …]
Dfsl_mcan.h373 uint8_t bufferIdx; /*!< The index of Message buffer used to transfer Message. */ member
1074 void MCAN_TransferAbortSend(CAN_Type *base, mcan_handle_t *handle, uint8_t bufferIdx);