FreeRTOS Tetris
|
Group that contains queue utility functions. More...
Functions | |
UBaseType_t | uxQueueMessagesWaiting (const QueueHandle_t xQueue) PRIVILEGED_FUNCTION |
UBaseType_t | uxQueueSpacesAvailable (const QueueHandle_t xQueue) PRIVILEGED_FUNCTION |
BaseType_t | xQueueIsQueueEmptyFromISR (const QueueHandle_t xQueue) PRIVILEGED_FUNCTION |
BaseType_t | xQueueIsQueueFullFromISR (const QueueHandle_t xQueue) PRIVILEGED_FUNCTION |
UBaseType_t | uxQueueMessagesWaitingFromISR (const QueueHandle_t xQueue) PRIVILEGED_FUNCTION |
Group that contains queue utility functions.
UBaseType_t uxQueueMessagesWaiting | ( | const QueueHandle_t | xQueue | ) |
#include <queue.h>
Return the number of messages stored in a queue.
xQueue | A handle to the queue being queried. |
UBaseType_t uxQueueMessagesWaitingFromISR | ( | const QueueHandle_t | xQueue | ) |
#include <queue.h>
Return the number of messages stored in a queue. Safe to query from an ISR.
xQueue | A handle to the queue being queried. |
UBaseType_t uxQueueSpacesAvailable | ( | const QueueHandle_t | xQueue | ) |
#include <queue.h>
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. |
BaseType_t xQueueIsQueueEmptyFromISR | ( | const QueueHandle_t | xQueue | ) |
#include <queue.h>
Return whether the queue is empty. Save to query from an ISR.
xQueue | A handle to the queue being queried. |
BaseType_t xQueueIsQueueFullFromISR | ( | const QueueHandle_t | xQueue | ) |
#include <queue.h>
Return whether the queue is full. Save to query from an ISR.
xQueue | A handle to the queue being queried. |