下载 FreeRTOS
 

出色的 RTOS & 嵌入式软件

内核
最新资讯
简化任何设备的身份验证云连接。
利用 CoAP 设计节能型云连接 IoT 解决方案。
11.0.0 版 FreeRTOS 内核简介:
FreeRTOS 路线图和代码贡献流程。
使用 FreeRTOS 实现 OPC-UA over TSN。

xQueueGetStaticBuffers()
[队列管理]


queue.h

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

configSUPPORT_STATIC_ALLOCATION 必须定义为 1,此函数才可用。 详情请参阅 RTOS 配置文档。

Retrieve pointers to a statically created stream buffer's data structure buffer and storage area buffer. 这些缓冲区与创建时提供的缓冲区相同。

参数:
xQueue    数据结构体缓冲区和存储区缓冲区将被检索的流缓冲区。
ppucQueueStorage   用于返回指向流缓冲区存储区缓冲区的指针。
ppxStaticQueue   用于返回指向流缓冲区的数据结构体缓冲区的指针。
返回:
如果检索到缓冲区,则返回 pdTRUE,否则返回 pdFALSE。





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