5#ifndef ELEC_C7222_UTILS_FREERTOS_CRITICAL_SECTION_HPP
6#define ELEC_C7222_UTILS_FREERTOS_CRITICAL_SECTION_HPP
52 std::uint32_t depth_{0};
Critical-section wrapper with destructor-based exit cleanup.
Definition freertos_critical_section.hpp:34
FreeRtosCriticalSection()=default
Construct a critical-section wrapper in the unlocked state.
~FreeRtosCriticalSection()
Ensure the critical section is exited on destruction if entered.
bool Exit()
Exit the critical section.
void Enter()
Enter the critical section (no-op if already entered by this object).
Disable both copy and move operations.
Definition non_copyable.hpp:75
C7222 course abstractions namespace.
Definition ble.hpp:20
Base classes to control copy/move semantics.