|
Sound Byte Libs 1ee2ca6
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
|
ARM Cortex-M interrupt control primitives. More...
#include <cstdint>Go to the source code of this file.
Namespaces | |
| namespace | sbl |
| Root namespace for all Sound Byte Libs functionality. | |
| namespace | sbl::core |
| namespace | sbl::core::hal |
| namespace | sbl::core::hal::interrupts |
Macros | |
| #define | __get_PRIMASK() (0) |
| #define | __disable_irq() do {} while(0) |
| #define | __set_PRIMASK(x) do { (void)(x); } while(0) |
Functions | |
| uint32_t | sbl::core::hal::interrupts::disable_and_save () |
| Disable ARM interrupts and return previous state. | |
| void | sbl::core::hal::interrupts::restore (uint32_t saved_state) |
| Restore ARM interrupt state. | |
| uint32_t | sbl::core::hal::interrupts::get_state () |
| Get current ARM interrupt state. | |
| bool | sbl::core::hal::interrupts::are_enabled () |
| Check if ARM interrupts are enabled. | |
ARM Cortex-M interrupt control primitives.
Low-level hardware operations for ARM interrupt control using CMSIS intrinsics. Provides minimal hardware primitives without RAII - use patterns layer for convenience.
Definition in file control.hpp.
| #define __disable_irq | ( | ) | do {} while(0) |
Definition at line 21 of file control.hpp.
| #define __get_PRIMASK | ( | ) | (0) |
Definition at line 17 of file control.hpp.
| #define __set_PRIMASK | ( | x | ) | do { (void)(x); } while(0) |
Definition at line 25 of file control.hpp.