1.29.3.6 CANx_TxEventFifoRead Function

C

bool CANx_TxEventFifoRead(uint8_t numberOfTxEvent, CAN_TX_EVENT_FIFO *txEventFifo) // x - Instance of the CAN peripheral

Summary

Read Tx Event FIFO for the transmitted messages.

Description

This routine reads Tx Event FIFO for the transmitted messages.

Precondition

CANx_Initialize has been called.

Parameters

Param Description
numberOfTxEvent Total number of Tx Event
txEventFifo Pointer to Tx Event FIFO

Returns

Request status. true - Request was successful.

false - Request has failed.

Example

CAN_TX_EVENT_FIFO txEventFifo;
// Read 1 Tx Event FIFO Element
CAN0_TxEventFifoRead(1, &txEventFifo);

Remarks

None.