46 handle = xEventGroupCreate();
49 #ifndef CPP_FREERTOS_NO_EXCEPTIONS 52 configASSERT(!
"EventGroup Constructor Failed");
59 #if( configSUPPORT_STATIC_ALLOCATION == 1 ) 63 handle = xEventGroupCreateStatic(pxEventGroupBuffer);
66 #ifndef CPP_FREERTOS_NO_EXCEPTIONS 69 configASSERT(!
"EventGroup Constructor Failed");
84 const EventBits_t uxBitsToWaitFor,
85 TickType_t xTicksToWait)
88 return xEventGroupSync(
handle,
99 TickType_t xTicksToWait)
102 return xEventGroupWaitBits(
handle,
104 xClearOnExit ? pdTRUE : pdFALSE,
105 xWaitForAllBits ? pdTRUE : pdFALSE,
112 return xEventGroupClearBits(
handle, uxBitsToClear);
118 return xEventGroupClearBitsFromISR(
handle, uxBitsToClear);
124 return xEventGroupGetBits(
handle);
130 return xEventGroupGetBitsFromISR(
handle);
136 return xEventGroupSetBits(
handle, uxBitsToSet);
140 #if ( ( configUSE_TRACE_FACILITY == 1 ) && ( INCLUDE_xTimerPendFunctionCall == 1 ) && ( configUSE_TIMERS == 1 ) ) 142 BaseType_t EventGroup::SetBitsFromISR(
const EventBits_t uxBitsToSet, BaseType_t *pxHigherPriorityTaskWoken)
144 return xEventGroupSetBitsFromISR(
handle, uxBitsToSet, pxHigherPriorityTaskWoken);
EventGroupHandle_t handle
EventBits_t GetBitsFromISR()
BaseType_t ClearBitsFromISR(const EventBits_t uxBitsToClear)
EventBits_t Sync(const EventBits_t uxBitsToSet, const EventBits_t uxBitsToWaitFor, TickType_t xTicksToWait)
EventBits_t SetBits(const EventBits_t uxBitsToSet)
EventBits_t WaitBits(const EventBits_t uxBitsToWaitFor, bool xClearOnExit, bool xWaitForAllBits, TickType_t xTicksToWait)
EventBits_t ClearBits(const EventBits_t uxBitsToClear)