|
RTOS Wrapper
API reference
|
Lightweight C++ wrapper for the RTOS event-flag-group primitive. More...
Go to the source code of this file.
Classes | |
| class | OsEventFlags< kReserved > |
| Eager-init event-flag group with modern C++ public surface. More... | |
Enumerations | |
| enum class | WaitMode : uint8_t { Any , All } |
Selects ANY-of-bits vs ALL-of-bits semantics for Wait calls. More... | |
Lightweight C++ wrapper for the RTOS event-flag-group primitive.
Thread-safety: internally thread-safe; the underlying FreeRTOS event group is already MT-safe, so no extra mutex is layered on top.
Allocation: the underlying RTOS handle is created eagerly in the constructor; no heap allocation in Set / Clear / Wait.
Public surface uses modern C++ types (uint32_t, enum class WaitMode) — no OS_Ulong, OS_OR, OS_AND, OS_WAIT_FOREVER leakage. Pass UINT32_MAX to wait forever.
|
strong |