RTOS事件组使用流程

#define EVENTBIT_0 (1<<0) //ʼþλ
#define EVENTBIT_1 (1<<1)
#define EVENTBIT_2 (1<<2)
#define EVENTBIT_ALL (EVENTBIT_0|EVENTBIT_1|EVENTBIT_2)


1.创建事件组

EventGroupHandle_t EventGroupHandler; 

 

posted @ 2020-05-06 11:26  -青云  阅读(338)  评论(0编辑  收藏  举报