28 #ifndef EVENT_GROUPS_H 29 #define EVENT_GROUPS_H 31 #ifndef INC_FREERTOS_H 32 #error "include FreeRTOS.h" must appear in source files before "include event_groups.h" 81 typedef void * EventGroupHandle_t;
91 typedef TickType_t EventBits_t;
145 #if( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) 146 EventGroupHandle_t xEventGroupCreate(
void ) PRIVILEGED_FUNCTION;
198 #if( configSUPPORT_STATIC_ALLOCATION == 1 ) 199 EventGroupHandle_t xEventGroupCreateStatic(
StaticEventGroup_t *pxEventGroupBuffer ) PRIVILEGED_FUNCTION;
294 EventBits_t xEventGroupWaitBits( EventGroupHandle_t xEventGroup,
const EventBits_t uxBitsToWaitFor,
const BaseType_t xClearOnExit,
const BaseType_t xWaitForAllBits, TickType_t xTicksToWait ) PRIVILEGED_FUNCTION;
351 EventBits_t xEventGroupClearBits( EventGroupHandle_t xEventGroup,
const EventBits_t uxBitsToClear ) PRIVILEGED_FUNCTION;
406 #if( configUSE_TRACE_FACILITY == 1 ) 407 BaseType_t xEventGroupClearBitsFromISR( EventGroupHandle_t xEventGroup,
const EventBits_t uxBitsToSet ) PRIVILEGED_FUNCTION;
409 #define xEventGroupClearBitsFromISR( xEventGroup, uxBitsToClear ) xTimerPendFunctionCallFromISR( vEventGroupClearBitsCallback, ( void * ) xEventGroup, ( uint32_t ) uxBitsToClear, NULL ) 484 EventBits_t xEventGroupSetBits( EventGroupHandle_t xEventGroup,
const EventBits_t uxBitsToSet ) PRIVILEGED_FUNCTION;
558 #if( configUSE_TRACE_FACILITY == 1 ) 559 BaseType_t xEventGroupSetBitsFromISR( EventGroupHandle_t xEventGroup,
const EventBits_t uxBitsToSet, BaseType_t *pxHigherPriorityTaskWoken ) PRIVILEGED_FUNCTION;
561 #define xEventGroupSetBitsFromISR( xEventGroup, uxBitsToSet, pxHigherPriorityTaskWoken ) xTimerPendFunctionCallFromISR( vEventGroupSetBitsCallback, ( void * ) xEventGroup, ( uint32_t ) uxBitsToSet, pxHigherPriorityTaskWoken ) 688 EventBits_t xEventGroupSync( EventGroupHandle_t xEventGroup,
const EventBits_t uxBitsToSet,
const EventBits_t uxBitsToWaitFor, TickType_t xTicksToWait ) PRIVILEGED_FUNCTION;
707 #define xEventGroupGetBits( xEventGroup ) xEventGroupClearBits( xEventGroup, 0 ) 724 EventBits_t xEventGroupGetBitsFromISR( EventGroupHandle_t xEventGroup ) PRIVILEGED_FUNCTION;
738 void vEventGroupDelete( EventGroupHandle_t xEventGroup ) PRIVILEGED_FUNCTION;
741 void vEventGroupSetBitsCallback(
void *pvEventGroup,
const uint32_t ulBitsToSet ) PRIVILEGED_FUNCTION;
742 void vEventGroupClearBitsCallback(
void *pvEventGroup,
const uint32_t ulBitsToClear ) PRIVILEGED_FUNCTION;
745 #if (configUSE_TRACE_FACILITY == 1) 746 UBaseType_t uxEventGroupGetNumber(
void* xEventGroup ) PRIVILEGED_FUNCTION;
747 void vEventGroupSetNumber(
void* xEventGroup, UBaseType_t uxEventGroupNumber ) PRIVILEGED_FUNCTION;
Definition: FreeRTOS.h:1090