|
PebbleOS v4.47.0-512-g5285d4236
|
Exception and interrupt-mask state of the CPU. More...
Functions | |
| static bool | mcu_state_is_isr (void) |
| Check whether the CPU is executing an exception handler. | |
| bool | mcu_state_are_interrupts_enabled (void) |
| Check whether interrupts are globally enabled. | |
Exception and interrupt-mask state of the CPU.
On host builds (unit tests) code never runs in an exception handler.
| bool mcu_state_are_interrupts_enabled | ( | void | ) |
Check whether interrupts are globally enabled.
|
inlinestatic |
Check whether the CPU is executing an exception handler.