| Xmega Application Note | |||||
Global interrupt management for 8-bit AVR. More...
#include <compiler.h>#include <parts.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. | |
Global interrupt management for 8-bit AVR.
Copyright (C) 2010 Atmel Corporation. All rights reserved.
Definition in file interrupt_avr8.h.
Generated on Fri Oct 22 12:15:25 2010 for AVR1300 Using the Xmega ADC by 1.6.3
|