event_groups.h EventBits_t xEventGroupGetBits( EventGroupHandle_t xEventGroup );
EventBits_t xEventGroupGetBits( EventGroupHandle_t xEventGroup );
返回RTOS 事件组中事件位(事件标志)的当前值。 不能从中断使用此函数。 可以在中断中使用的版本请参阅 xEventGroupGetBitsFromISR() 。
RTOS源文件 FreeRTOS/source/event_groups.c 必须 包含在构建中,才能使用xEventGroupGetBits()函数。