RTOS中任务的优先级越高 数值越大还是越小?/
时间: 2024-01-28 18:04:13 浏览: 176
根据引用\[1\]中的说明,FreeRTOS中任务的优先级是通过数值来表示的,数值越小表示优先级越高。用户可以配置的优先级范围是从0到configMAX_PRIORITIES - 1,其中configMAX_PRIORITIES是在FreeRTOSConfig.h文件中配置的。建议用户配置configMAX_PRIORITIES的最大值不要超过32。因此,在FreeRTOS中,任务的优先级越高,数值越小。
#### 引用[.reference_title]
- *1* *2* [FreeRTOS任务优先级](https://blog.csdn.net/m0_55744970/article/details/125951720)[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^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [freertos任务优先级分配](https://blog.csdn.net/weixin_44981087/article/details/130867882)[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^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文