Jump to main content

##

# 2.64.8 MCANx_TxEventFifoRead Function

## C

    bool MCANx_TxEventFifoRead(uint8_t numberOfTxEvent, MCAN_TX_EVENT_FIFO *txEventFifo) // x - Instance of the MCAN peripheral

## Summary

Read Tx Event FIFO for the transmitted messages.

## Description

This routine reads Tx Event FIFO for the transmitted messages.

## Precondition

MCANx_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

    MCAN_TX_EVENT_FIFO txEventFifo;
    // Read 1 Tx Event FIFO Element
    MCAN0_TxEventFifoRead(1, &txEventFifo);

## Remarks

None.