13#ifndef CMSIS_PLUS_RTOS_INTERNAL_OS_FLAGS_H_
14#define CMSIS_PLUS_RTOS_INTERNAL_OS_FLAGS_H_
28#pragma GCC diagnostic push
30#pragma clang diagnostic ignored "-Wc++98-compat"
202#pragma GCC diagnostic pop
Internal event flags implementation.
result_t raise(flags::mask_t mask, flags::mask_t *oflags)
Raise event flags.
flags::mask_t get(flags::mask_t mask, flags::mode_t mode)
Get (and possibly clear) event flags.
bool check_raised(flags::mask_t mask, flags::mask_t *oflags, flags::mode_t mode)
Check if expected flags are raised.
result_t clear(flags::mask_t mask, flags::mask_t *oflags)
Clear event flags.
~event_flags()=default
Destruct the internal event flags object instance.
event_flags()=default
Construct an internal event flags object instance.
flags::mask_t mask(void)
Get the flags mask.
uint32_t mode_t
Type of variables holding flags modes.
uint32_t mask_t
Type of variables holding flags masks.
uint32_t result_t
Type of values returned by RTOS functions.