Atmel Software Framework

uxQueueMessagesWaiting

queue.

h

unsigned portBASE_TYPE uxQueueMessagesWaiting( const xQueueHandle xQueue );

Return the number of messages stored in a queue.

Parameters
xQueueA handle to the queue being queried.
Returns
The number of messages available in the queue.