PebbleOS
Loading...
Searching...
No Matches
Functions
interrupts.h File Reference
#include <stdbool.h>
#include <stdint.h>
#include <pbl/mcu/interrupts_stubs.inl.h>

Functions

static bool mcu_state_is_isr (void)
 Check whether the CPU is executing an exception handler.
 
static uint32_t mcu_state_get_isr_priority (void)
 Get the priority of the exception handler being executed.
 
bool mcu_state_are_interrupts_enabled (void)
 Check whether interrupts are globally enabled.