freertos队列
时间: 2023-08-19 10:05:35 浏览: 103
FreeRTOS队列是一种用于任务与任务、任务与中断之间通信的机制。它可以在任务和中断之间传递消息,并且具有有限且固定大小的数据项目。队列能够存储多个数据项目,并且可以设置队列的长度和数据项目的大小。当队列满时,尝试入队操作会返回错误码errQUEUE_FULL,表示队列已满无法继续入队新元素。队列的使用可以简化任务之间的数据交流,使得开发者无需手动查询目标队列是否有元素可读。更详细的内容可以参考FreeRTOS官方手册。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [FreeRTOS基础四:队列](https://blog.csdn.net/luliplus/article/details/121087810)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *3* [FreeRTOS的学习(七)——1.队列概念](https://blog.csdn.net/qq_39397153/article/details/124714005)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文