Lines Matching refs:bufferIdx
1545 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
1655 assert(bufferIdx <= 63U); in MCAN_TransferAbortSend()
1658 MCAN_DisableTransmitBufferInterrupts(base, bufferIdx); in MCAN_TransferAbortSend()
1661 MCAN_TransmitCancelRequest(base, bufferIdx); in MCAN_TransferAbortSend()
1664 handle->bufferFrameBuf[bufferIdx] = NULL; in MCAN_TransferAbortSend()
1666 handle->bufferState[bufferIdx] = (uint8_t)kMCAN_StateIdle; in MCAN_TransferAbortSend()