event_groups.h
EventBits_t xEventGroupGetBits( EventGroupHandle_t xEventGroup );
Returns the current value of the bits in an event group. This function cannot be used from an interrupt.