UBaseType_t uxQueueMessagesWaiting( QueueHandle_t xQueue );
A version of uxQueueMessagesWaiting() that can be called from an ISR. Return the number of messages stored in a queue.
UBaseType_t uxQueueSpacesAvailable( QueueHandle_t xQueue );
Return the number of free spaces in a queue.
void vQueueDelete( QueueHandle_t xQueue );
Delete a queue - freeing all the memory allocated for storing of items placed on the queue.
BaseType_t xQueueReset( QueueHandle_t xQueue );
Resets a queue to its original empty state.
BaseType_t xQueueIsQueueEmptyFromISR( const QueueHandle_t xQueue );
Queries a queue to determine if the queue is empty. This function should only be used in an ISR.
BaseType_t xQueueIsQueueFullFromISR( const QueueHandle_t xQueue );
Queries a queue to determine if the queue is full. This function should only be used in an ISR.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.
FreeRTOS and other embedded software careers at AWS.