|
SAM4SD32 (SAM4S-EK2)
|
Global interrupt management for SAM D20, SAM3 and SAM4 (NVIC based). More...
#include <compiler.h>#include <parts.h>Go to the source code of this file.
Macros | |
| #define | Disable_global_interrupt() |
| #define | Enable_global_interrupt() |
| #define | Is_global_interrupt_enabled() |
Interrupt Service Routine definition | |
| #define | irq_initialize_vectors() |
| Initialize interrupt vectors. | |
| #define | irq_register_handler(int_num, int_prio) |
| Register handler for interrupt. | |
| #define | ISR(func) |
| Define service routine. | |
Functions | |
| void | cpu_irq_enter_critical (void) |
| void | cpu_irq_leave_critical (void) |
Variables | |
| static volatile uint32_t | cpu_irq_critical_section_counter |
| static volatile bool | cpu_irq_prev_interrupt_state |
Global interrupt flags | |
| #define | cpu_irq_disable() |
| Disable interrupts globally. | |
| #define | cpu_irq_enable() |
| Enable interrupts globally. | |
| #define | cpu_irq_is_enabled() |
| Check if interrupts are globally enabled. | |
| 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. | |
| typedef uint32_t | irqflags_t |
| Type used for holding state of interrupt flag. | |
Global interrupt management for SAM D20, SAM3 and SAM4 (NVIC based).
Copyright (c) 2012-2018 Microchip Technology Inc. and its subsidiaries.
\cond ASF_LICENSE
Definition in file interrupt_sam_nvic.h.