freertos
freertos学习
Enoch0423
这个作者很懒,什么都没留下…
展开
-
freertos用法总结
对freertos的API函数进行了初步的整理,方便查阅。 /*freertos头文件*/ #include "FreeRTOS.h" #include "task.h" #include "queue.h" #include "semphr.h" #include "timers.h" #include "event_groups.h" /*基础类变量*/ UBaseType_t /*freertos config配置*/ #define configUSE_PREEMPTION 1 #defi原创 2022-01-11 16:37:02 · 2856 阅读 · 0 评论 -
freertos的列表项和列表结构
列表的定义: typedef struct xLIST { listFIRST_LIST_INTEGRITY_CHECK_VALUE /*< Set to a known value if configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES is set to 1. */ configLIST_VOLATILE UBaseType_t uxNumberOfItems; ListItem_t * configLIST_VOLATILE pxIndex; /原创 2022-01-10 10:44:29 · 286 阅读 · 0 评论