33 struct EventGroup *ret;
71 struct Timeout timeout = {0, xTicksToWait};
int32_t BaseType_t
FreeRTOS default signed integer type.
Ticks TickType_t
FreeRTOS type for durations expressed in ticks.
int __cheri_libcall eventgroup_wait(TimeoutArgument timeout, struct EventGroup *group, uint32_t *outBits, uint32_t bitsWanted, _Bool waitForAll, _Bool clearOnExit)
Wait for events in an event group.
int __cheri_libcall eventgroup_create(TimeoutArgument timeout, AllocatorCapability heapCapability, struct EventGroup **outGroup)
Create a new event group, allocated using heapCapability.
int __cheri_libcall eventgroup_destroy(AllocatorCapability heapCapability, struct EventGroup *group)
Destroy an event group.
int __cheri_libcall eventgroup_set(TimeoutArgument timeout, struct EventGroup *group, uint32_t *outBits, uint32_t bitsToSet)
Set one or more bits in an event group.
static EventBits_t xEventGroupWaitBits(EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToWaitFor, const BaseType_t xClearOnExit, const BaseType_t xWaitForAllBits, TickType_t xTicksToWait)
Wait for bits in an event group to be set.
static EventGroupHandle_t xEventGroupCreate(void)
Create a new event group on the heap.
uint32_t EventBits_t
Type for bits in an event group.
struct EventGroup * EventGroupHandle_t
Type for event group handles.
static void vEventGroupDelete(EventGroupHandle_t xEventGroup)
Delete an event group.
static EventBits_t xEventGroupSetBits(EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToSet)
Set bits in an event group.
Structure representing a timeout.
static const Ticks UnlimitedTimeout
Value indicating an unbounded timeout for use with Timeout.