queue. h
uint32_t queue_get_waiting( const queue_t xQueue );
Return the number of messages stored in a queue.
| xQueue | A handle to the queue being queried. |
queue. h
uint32_t queue_get_available( const queue_t xQueue );
Return the number of free spaces available in a queue. This is equal to the number of items that can be sent to the queue before the queue becomes full if no items are removed.
| xQueue | A handle to the queue being queried. |