39 #if !defined(__DOXYGEN__) #define cpu_irq_disable()
Disable interrupts globally.
static volatile uint32_t cpu_irq_critical_section_counter
#define cpu_irq_is_enabled()
Check if interrupts are globally enabled.
volatile bool g_interrupt_enabled
Global interrupt management for SAM D20, SAM3 and SAM4 (NVIC based)
void cpu_irq_leave_critical(void)
static volatile bool cpu_irq_prev_interrupt_state
void cpu_irq_enter_critical(void)
#define Assert(expr)
This macro is used to test fatal errors.
#define cpu_irq_enable()
Enable interrupts globally.