Implementation of the kernels irq interface. More...
Implementation of the kernels irq interface.
Definition in file irq_arch_common.h.
 Include dependency graph for irq_arch_common.h:
 This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Variables | |
| volatile uint32_t | irq_interrupt_nesting | 
| Indicates the interrupt nesting depth.  More... | |
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) | 
      
  | 
  extern | 
Indicates the interrupt nesting depth.
The variable is incremented on entry into and decremented on exit from an ISR.