Updated Apr 2025
xQueueGetStaticBuffers()
queue.h
1 BaseType_t xQueueGetStaticBuffers( QueueHandle_t xQueue,2 uint8_t ** ppucQueueStorage,3 StaticQueue_t ** ppxStaticQueue );
configSUPPORT_STATIC_ALLOCATION
Retrieve pointers to a statically created queue's data structure buffer and storage area buffer. These are the same buffers that are supplied at the time of creation.
Parameters:
-
xQueue
The queue whose data structure buffer and storage area buffer will be retrieved.
-
ppucQueueStorage
Used to return a pointer to the queue's storage area buffer.
-
ppxStaticQueue
Used to return a pointer to the queue's data structure buffer.
Returns:
- if the buffers were retrieved,pdTRUE
- otherwise.pdFALSE