38#ifndef EVENT_GROUPS_HPP_
39#define EVENT_GROUPS_HPP_
48#ifndef CPP_FREERTOS_NO_EXCEPTIONS
52#ifdef CPP_FREERTOS_NO_CPP_STRINGS
53#error "FreeRTOS-Addons require C++ Strings if you are using exceptions"
57#include "event_groups.h"
63#ifndef CPP_FREERTOS_NO_EXCEPTIONS
75 sprintf(
errorString,
"Event Group Constructor Failed");
84 "Event Group Constructor Failed %s",
info);
91 virtual const char *
what()
const throw()
122#if( configSUPPORT_STATIC_ALLOCATION == 1 )
126 EventGroup(StaticEventGroup_t *pxEventGroupBuffer);
150 EventBits_t
Sync(
const EventBits_t uxBitsToSet,
151 const EventBits_t uxBitsToWaitFor,
152 TickType_t xTicksToWait);
205 EventBits_t
WaitBits(
const EventBits_t uxBitsToWaitFor,
207 bool xWaitForAllBits,
208 TickType_t xTicksToWait);
219 EventBits_t
ClearBits(
const EventBits_t uxBitsToClear);
259 EventBits_t
SetBits(
const EventBits_t uxBitsToSet);
262 #if ( ( configUSE_TRACE_FACILITY == 1 ) && ( INCLUDE_xTimerPendFunctionCall == 1 ) && ( configUSE_TIMERS == 1 ) )
282 BaseType_t *pxHigherPriorityTaskWoken);
EventGroupCreateException(const char *info)
EventGroupCreateException()
virtual const char * what() const
EventBits_t GetBitsFromISR()
EventBits_t Sync(const EventBits_t uxBitsToSet, const EventBits_t uxBitsToWaitFor, TickType_t xTicksToWait)
EventBits_t SetBits(const EventBits_t uxBitsToSet)
EventBits_t ClearBits(const EventBits_t uxBitsToClear)
BaseType_t ClearBitsFromISR(const EventBits_t uxBitsToClear)
BaseType_t SetBitsFromISR(const EventBits_t uxBitsToSet, BaseType_t *pxHigherPriorityTaskWoken)
EventGroupHandle_t handle
EventBits_t WaitBits(const EventBits_t uxBitsToWaitFor, bool xClearOnExit, bool xWaitForAllBits, TickType_t xTicksToWait)