70 #ifndef EVENT_GROUPS_H 71 #define EVENT_GROUPS_H 73 #ifndef INC_FREERTOS_H 74 #error "include FreeRTOS.h" must appear in source files before "include event_groups.h" 122 typedef void * EventGroupHandle_t;
132 typedef TickType_t EventBits_t;
176 EventGroupHandle_t xEventGroupCreate(
void ) PRIVILEGED_FUNCTION;
270 EventBits_t xEventGroupWaitBits( EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToWaitFor, const BaseType_t xClearOnExit, const BaseType_t xWaitForAllBits, TickType_t xTicksToWait ) PRIVILEGED_FUNCTION;
327 EventBits_t xEventGroupClearBits( EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToClear ) PRIVILEGED_FUNCTION;
382 #if( configUSE_TRACE_FACILITY == 1 ) 383 BaseType_t xEventGroupClearBitsFromISR( EventGroupHandle_t xEventGroup,
const EventBits_t uxBitsToSet ) PRIVILEGED_FUNCTION;
385 #define xEventGroupClearBitsFromISR( xEventGroup, uxBitsToClear ) xTimerPendFunctionCallFromISR( vEventGroupClearBitsCallback, ( void * ) xEventGroup, ( uint32_t ) uxBitsToClear, NULL ) 460 EventBits_t xEventGroupSetBits( EventGroupHandle_t xEventGroup,
const EventBits_t uxBitsToSet ) PRIVILEGED_FUNCTION;
534 #if( configUSE_TRACE_FACILITY == 1 ) 535 BaseType_t xEventGroupSetBitsFromISR( EventGroupHandle_t xEventGroup,
const EventBits_t uxBitsToSet, BaseType_t *pxHigherPriorityTaskWoken ) PRIVILEGED_FUNCTION;
537 #define xEventGroupSetBitsFromISR( xEventGroup, uxBitsToSet, pxHigherPriorityTaskWoken ) xTimerPendFunctionCallFromISR( vEventGroupSetBitsCallback, ( void * ) xEventGroup, ( uint32_t ) uxBitsToSet, pxHigherPriorityTaskWoken ) 664 EventBits_t xEventGroupSync( EventGroupHandle_t xEventGroup,
const EventBits_t uxBitsToSet,
const EventBits_t uxBitsToWaitFor, TickType_t xTicksToWait ) PRIVILEGED_FUNCTION;
683 #define xEventGroupGetBits( xEventGroup ) xEventGroupClearBits( xEventGroup, 0 ) 700 EventBits_t xEventGroupGetBitsFromISR( EventGroupHandle_t xEventGroup ) PRIVILEGED_FUNCTION;
714 void vEventGroupDelete( EventGroupHandle_t xEventGroup ) PRIVILEGED_FUNCTION;
717 void vEventGroupSetBitsCallback(
void *pvEventGroup,
const uint32_t ulBitsToSet ) PRIVILEGED_FUNCTION;
718 void vEventGroupClearBitsCallback(
void *pvEventGroup,
const uint32_t ulBitsToClear ) PRIVILEGED_FUNCTION;
720 #if (configUSE_TRACE_FACILITY == 1) 721 UBaseType_t uxEventGroupGetNumber(
void* xEventGroup ) PRIVILEGED_FUNCTION;