Download FreeRTOS
 

Quality RTOS & Embedded Software

KERNEL
WHAT'S NEW
FreeRTOS-Plus-TCP now has unified IPv4 and IPv6 functionalities and multi-interface support.
Achieving Unbrickable MCU FOTA for your FreeRTOS-powered Firmware:
FreeRTOS 202012 LTS end of support announced.
FreeRTOS website now available in Simplified Chinese
New FreeRTOS Long Term Support version now available.

xStreamBufferGetStaticBuffers()
[RTOS Stream Buffer API]


stream_buffer.h

 BaseType_t xStreamBufferGetStaticBuffers( StreamBufferHandle_t xStreamBuffer,
                                           uint8_t ** ppucStreamBufferStorageArea,
                                           StaticStreamBuffer_t ** ppxStaticStreamBuffer );

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 stream buffer's data structure buffer and storage area buffer. These are the same buffers that are supplied at the time of creation.

Parameters:
xStreamBuffer   The stream buffer whose data structure buffer and storage area buffer will be retrieved.
ppucStreamBufferStorageArea   Used to return a pointer to the stream buffer's storage area buffer.
ppxStaticStreamBuffer   Used to return a pointer to the stream buffer's data structure buffer.
Returns:
pdTRUE if the buffers were retrieved, pdFALSE otherwise.





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