Xmega Application Note


interrupt_avr8.h File Reference

Global interrupt management for 8-bit AVR. More...

#include <compiler.h>
#include <parts.h>
Include dependency graph for interrupt_avr8.h:

Go to the source code of this file.

Defines

#define cpu_irq_is_enabled()   cpu_irq_is_enabled_flags(SREG)
#define Disable_global_interrupt()   cpu_irq_disable()
#define Enable_global_interrupt()   cpu_irq_enable()
#define irq_initialize_vectors()   PMIC.CTRL = PMIC_LOLVLEN_bm | PMIC_MEDLVLEN_bm | PMIC_HILVLEN_bm;
 Initialize interrupt vectors Enables all interrupt levels, with vectors located in the application section and fixed priority scheduling.
#define Is_global_interrupt_enabled()   cpu_irq_is_enabled()

Typedefs

typedef uint8_t irqflags_t

Global interrupt flags



#define cpu_irq_disable()   __disable_interrupt()
 Disable interrupts globally.
#define cpu_irq_enable()   __enable_interrupt()
 Enable interrupts globally.
static bool cpu_irq_is_enabled_flags (irqflags_t flags)
 Check if interrupts are globally enabled in supplied flags.
static void cpu_irq_restore (irqflags_t flags)
 Restore global interrupt flags.
static irqflags_t cpu_irq_save (void)
 Get and clear the global interrupt flags.

Detailed Description

Global interrupt management for 8-bit AVR.

Copyright (C) 2010 Atmel Corporation. All rights reserved.

Definition in file interrupt_avr8.h.

@DOC_TITLE@
Generated on Fri Oct 22 12:15:25 2010 for AVR1300 Using the Xmega ADC by doxygen 1.6.3