52#ifndef STREAM_BUFFER_H
53#define STREAM_BUFFER_H
61typedef void *StreamBufferHandle_t;
128#define xStreamBufferCreate(xBufferSizeBytes, xTriggerLevelBytes) \
129 xStreamBufferGenericCreate(xBufferSizeBytes, xTriggerLevelBytes, pdFALSE)
210#define xStreamBufferCreateStatic( \
211 xBufferSizeBytes, xTriggerLevelBytes, pucStreamBufferStorageArea, pxStaticStreamBuffer) \
212 xStreamBufferGenericCreateStatic( \
213 xBufferSizeBytes, xTriggerLevelBytes, pdFALSE, pucStreamBufferStorageArea, pxStaticStreamBuffer)
307size_t xStreamBufferSend(StreamBufferHandle_t xStreamBuffer,
const void *pvTxData,
size_t xDataLengthBytes,
308 TickType_t xTicksToWait) PRIVILEGED_FUNCTION;
406size_t xStreamBufferSendFromISR(StreamBufferHandle_t xStreamBuffer,
const void *pvTxData,
size_t xDataLengthBytes,
407 BaseType_t *
const pxHigherPriorityTaskWoken) PRIVILEGED_FUNCTION;
493size_t xStreamBufferReceive(StreamBufferHandle_t xStreamBuffer,
void *pvRxData,
size_t xBufferLengthBytes,
494 TickType_t xTicksToWait) PRIVILEGED_FUNCTION;
577size_t xStreamBufferReceiveFromISR(StreamBufferHandle_t xStreamBuffer,
void *pvRxData,
size_t xBufferLengthBytes,
578 BaseType_t *
const pxHigherPriorityTaskWoken) PRIVILEGED_FUNCTION;
600void vStreamBufferDelete(StreamBufferHandle_t xStreamBuffer) PRIVILEGED_FUNCTION;
620BaseType_t xStreamBufferIsFull(StreamBufferHandle_t xStreamBuffer) PRIVILEGED_FUNCTION;
640BaseType_t xStreamBufferIsEmpty(StreamBufferHandle_t xStreamBuffer) PRIVILEGED_FUNCTION;
663BaseType_t xStreamBufferReset(StreamBufferHandle_t xStreamBuffer) PRIVILEGED_FUNCTION;
684size_t xStreamBufferSpacesAvailable(StreamBufferHandle_t xStreamBuffer) PRIVILEGED_FUNCTION;
705size_t xStreamBufferBytesAvailable(StreamBufferHandle_t xStreamBuffer) PRIVILEGED_FUNCTION;
742BaseType_t xStreamBufferSetTriggerLevel(StreamBufferHandle_t xStreamBuffer,
size_t xTriggerLevel) PRIVILEGED_FUNCTION;
782BaseType_t xStreamBufferSendCompletedFromISR(StreamBufferHandle_t xStreamBuffer,
783 BaseType_t * pxHigherPriorityTaskWoken) PRIVILEGED_FUNCTION;
824BaseType_t xStreamBufferReceiveCompletedFromISR(StreamBufferHandle_t xStreamBuffer,
825 BaseType_t * pxHigherPriorityTaskWoken) PRIVILEGED_FUNCTION;
828StreamBufferHandle_t xStreamBufferGenericCreate(
size_t xBufferSizeBytes,
size_t xTriggerLevelBytes,
829 BaseType_t xIsMessageBuffer) PRIVILEGED_FUNCTION;
832xStreamBufferGenericCreateStatic(
size_t xBufferSizeBytes,
size_t xTriggerLevelBytes, BaseType_t xIsMessageBuffer,
833 uint8_t *
const pucStreamBufferStorageArea,
836#if (configUSE_TRACE_FACILITY == 1)
837void vStreamBufferSetStreamBufferNumber(StreamBufferHandle_t xStreamBuffer,
838 UBaseType_t uxStreamBufferNumber) PRIVILEGED_FUNCTION;
839UBaseType_t uxStreamBufferGetStreamBufferNumber(StreamBufferHandle_t xStreamBuffer) PRIVILEGED_FUNCTION;
840uint8_t ucStreamBufferGetStreamBufferType(StreamBufferHandle_t xStreamBuffer) PRIVILEGED_FUNCTION;
843#if defined(__cplusplus)
Definition FreeRTOS.h:1144