1.18.2.14 CANx_TxFIFOIsFull Function

C

bool CANx_TxFIFOIsFull(uint8_t fifoNum) // x - Instance of the CAN peripheral

Summary

Returns true if Tx FIFO is full otherwise false.

Description

This routine returns true if Tx FIFO is full otherwise false.

Precondition

CANx_Initialize must have been called for the associated CAN instance.

Parameters

Param Description
fifoNum FIFO number

Returns

true - Tx FIFO is full.

false - Tx FIFO is not full.

Example

if (CAN0_TxFIFOIsFull(1) == false)
{
    // Tx FIFO is not full
}

Remarks

None.