1.11.3.15 CANx_TxFIFOQueueIsFull Function

C

bool CANx_TxFIFOQueueIsFull(uint8_t fifoQueueNum) // x - Instance of the CAN peripheral

Summary

Returns true if Tx FIFO/Queue is full otherwise false.

Description

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

Precondition

CANx_Initialize must have been called for the associated CAN instance.

Parameters

Param Description
fifoQueueNum FIFO/Queue number

Returns

true - Tx FIFO/Queue is full.

false - Tx FIFO/Queue is not full.

Example

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

Remarks

None.