Microchip® Advanced Software Framework

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Deprecated interrupt definitions

Macros

#define Disable_global_interrupt()   cpu_irq_disable()
 
#define Disable_interrupt_level(level)   cpu_irq_disable_level(level)
 
#define Enable_global_interrupt()   cpu_irq_enable()
 
#define Enable_interrupt_level(level)   cpu_irq_enable_level(level)
 
#define Is_global_interrupt_enabled()   cpu_irq_is_enabled()
 
#define Is_interrupt_level_enabled(level)   cpu_irq_level_is_enabled(level)
 

Interrupt protection of code sections

Note
Use cpu_irq_save and cpu_irq_restore instead of these macros.
#define AVR32_ENTER_CRITICAL_REGION()
 Start section with code protected against interrupts. More...
 
#define AVR32_LEAVE_CRITICAL_REGION()
 End section with code protected against interrupts. More...
 

#define AVR32_ENTER_CRITICAL_REGION ( )
#define AVR32_LEAVE_CRITICAL_REGION ( )
#define Disable_interrupt_level (   level)    cpu_irq_disable_level(level)
#define Enable_interrupt_level (   level)    cpu_irq_enable_level(level)
#define Is_interrupt_level_enabled (   level)    cpu_irq_level_is_enabled(level)