1.3.3.4 CANx_TxFifoFreeLevelGet Function

C

uint8_t CANx_TxFifoFreeLevelGet(void) // x - Instance of the CAN peripheral

Summary

Returns Tx FIFO Free Level.

Description

This routine returns Tx FIFO Free Level.

Precondition

CANx_Initialize has been called.

Parameters

None.

Returns

Returns Tx FIFO Free Level.

Example

uint8_t fifoFreeSpace = 0;
fifoFreeSpace = CAN0_TxFifoFreeLevelGet();

Remarks

None.