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" 92 typedef TickType_t EventBits_t;
146 #if( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) 147 EventGroupHandle_t xEventGroupCreate(
void ) PRIVILEGED_FUNCTION;
199 #if( configSUPPORT_STATIC_ALLOCATION == 1 ) 200 EventGroupHandle_t xEventGroupCreateStatic(
StaticEventGroup_t *pxEventGroupBuffer ) PRIVILEGED_FUNCTION;
295 EventBits_t xEventGroupWaitBits( EventGroupHandle_t xEventGroup,
const EventBits_t uxBitsToWaitFor,
const BaseType_t xClearOnExit,
const BaseType_t xWaitForAllBits, TickType_t xTicksToWait ) PRIVILEGED_FUNCTION;
352 EventBits_t xEventGroupClearBits( EventGroupHandle_t xEventGroup,
const EventBits_t uxBitsToClear ) PRIVILEGED_FUNCTION;
407 #if( configUSE_TRACE_FACILITY == 1 ) 408 BaseType_t xEventGroupClearBitsFromISR( EventGroupHandle_t xEventGroup,
const EventBits_t uxBitsToClear ) PRIVILEGED_FUNCTION;
410 #define xEventGroupClearBitsFromISR( xEventGroup, uxBitsToClear ) xTimerPendFunctionCallFromISR( vEventGroupClearBitsCallback, ( void * ) xEventGroup, ( uint32_t ) uxBitsToClear, NULL ) 485 EventBits_t xEventGroupSetBits( EventGroupHandle_t xEventGroup,
const EventBits_t uxBitsToSet ) PRIVILEGED_FUNCTION;
559 #if( configUSE_TRACE_FACILITY == 1 ) 560 BaseType_t xEventGroupSetBitsFromISR( EventGroupHandle_t xEventGroup,
const EventBits_t uxBitsToSet, BaseType_t *pxHigherPriorityTaskWoken ) PRIVILEGED_FUNCTION;
562 #define xEventGroupSetBitsFromISR( xEventGroup, uxBitsToSet, pxHigherPriorityTaskWoken ) xTimerPendFunctionCallFromISR( vEventGroupSetBitsCallback, ( void * ) xEventGroup, ( uint32_t ) uxBitsToSet, pxHigherPriorityTaskWoken ) 689 EventBits_t xEventGroupSync( EventGroupHandle_t xEventGroup,
const EventBits_t uxBitsToSet,
const EventBits_t uxBitsToWaitFor, TickType_t xTicksToWait ) PRIVILEGED_FUNCTION;
708 #define xEventGroupGetBits( xEventGroup ) xEventGroupClearBits( xEventGroup, 0 ) 725 EventBits_t xEventGroupGetBitsFromISR( EventGroupHandle_t xEventGroup ) PRIVILEGED_FUNCTION;
739 void vEventGroupDelete( EventGroupHandle_t xEventGroup ) PRIVILEGED_FUNCTION;
742 void vEventGroupSetBitsCallback(
void *pvEventGroup,
const uint32_t ulBitsToSet ) PRIVILEGED_FUNCTION;
743 void vEventGroupClearBitsCallback(
void *pvEventGroup,
const uint32_t ulBitsToClear ) PRIVILEGED_FUNCTION;
746 #if (configUSE_TRACE_FACILITY == 1) 747 UBaseType_t uxEventGroupGetNumber(
void* xEventGroup ) PRIVILEGED_FUNCTION;
748 void vEventGroupSetNumber(
void* xEventGroup, UBaseType_t uxEventGroupNumber ) PRIVILEGED_FUNCTION;
Definition: FreeRTOS.h:1107
Definition: event_groups.c:63