Download FreeRTOS

Quality RTOS & Embedded Software

Simplifying Authenticated Cloud Connectivity for Any Device.
Designing an energy efficient and cloud-connected IoT solution with CoAP.
Introducing FreeRTOS Kernel version 11.0.0:
FreeRTOS Roadmap and Code Contribution process.
OPC-UA over TSN with FreeRTOS.

[Queue Management]


 BaseType_t xQueueGetStaticBuffers( QueueHandle_t xQueue,
                                    uint8_t ** ppucQueueStorage,
                                    StaticQueue_t ** ppxStaticQueue );

configSUPPORT_STATIC_ALLOCATION must be defined as 1 for this function to be available. See the RTOS Configuration documentation for more information.

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.

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.
pdTRUE if the buffers were retrieved, pdFALSE otherwise.

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.