Implementation of the kernels irq interface. More...
Implementation of the kernels irq interface.
Definition in file irq_arch_common.h.
Go to the source code of this file.
Variables | |
volatile uint32_t | irq_interrupt_nesting |
Indicates the interrupt nesting depth. | |
Macros to enter and exit an ISR | |
Since all the stuff is done in | |
#define | irq_isr_enter() |
#define | irq_isr_exit() |
Macros to enter and exit a critical region | |
| |
#define | critical_enter() int _irq_state = irq_disable() |
#define | critical_exit() irq_restore(_irq_state) |
Macros to enter and exit a critical region with state variable | |
#define | critical_enter_var(m) m = irq_disable() |
#define | critical_exit_var(m) irq_restore(m) |
#define critical_enter | ( | ) | int _irq_state = irq_disable() |
Definition at line 58 of file irq_arch_common.h.
#define critical_enter_var | ( | m | ) | m = irq_disable() |
Definition at line 66 of file irq_arch_common.h.
#define critical_exit | ( | ) | irq_restore(_irq_state) |
Definition at line 59 of file irq_arch_common.h.
#define critical_exit_var | ( | m | ) | irq_restore(m) |
Definition at line 67 of file irq_arch_common.h.
#define irq_isr_enter | ( | ) |
Definition at line 47 of file irq_arch_common.h.
#define irq_isr_exit | ( | ) |
Definition at line 48 of file irq_arch_common.h.
|
extern |
Indicates the interrupt nesting depth.
The variable is incremented on entry into and decremented on exit from an ISR.