mn_eventgroup.hpp
Go to the documentation of this file.
Wrapper class around FreeRTOS's implementation of a event_group.
Definition: mn_eventgroup.hpp:35
void set_name(const char *strName)
Set a new debug name for this event group.
Definition: mn_eventgroup.cpp:193
EventBits_t get()
Returns the current value of the event bits (event flags) in an event group.
Definition: mn_eventgroup.cpp:127
bool is_bit(const EventBits_t uxBitToWaitFor, uint32_t timeout)
Block to wait for one bit to be set within a previously created event group.
Definition: mn_eventgroup.cpp:77
EventBits_t wait(const EventBits_t uxBitsToWaitFor, bool xClearOnExit, bool xWaitForAllBits, uint32_t timeout)
Block to wait for one or more bits to be set within a previously created event group.
Definition: mn_eventgroup.cpp:88
EventBits_t set(const EventBits_t uxBitsToSet)
Set bits (flags) within an event group.
Definition: mn_eventgroup.cpp:143
void init_internal()
Initialisert the eventgroup.
Definition: mn_eventgroup.cpp:165
basic_event_group(const char *strName="unamed")
Consruct a new event group.
Definition: mn_eventgroup.cpp:36
virtual ~basic_event_group()
Delete an event group.
Definition: mn_eventgroup.cpp:54
EventGroupHandle_t get_handle()
Get the FreeRTOS Event Group handle.
Definition: mn_eventgroup.hpp:205
EventBits_t clear(const EventBits_t uxBitsToClear)
Clear bits (flags) within an event group.
Definition: mn_eventgroup.cpp:111
const char * get_name()
Get the debug name.
Definition: mn_eventgroup.hpp:217
bool is_init()
Is the basic_event_group initilisiert?
Definition: mn_eventgroup.hpp:211
EventBits_t sync(const EventBits_t uxBitsToSet, const EventBits_t uxBitsToWaitFor, TickType_t xTicksToWait)
Allow two or more tasks to use an event group to sync each other.
Definition: mn_eventgroup.cpp:63
Definition: mn_allocator_typetraits.hpp:25