libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
#include <libopencm3/cm3/common.h>
#include <libopencm3/cm3/memorymap.h>
#include <libopencm3/dispatch/nvic.h>
Go to the source code of this file.
Macros | |
#define | NVIC_ISER(iser_id) |
ISER: Interrupt Set Enable Registers. More... | |
#define | NVIC_ICER(icer_id) |
ICER: Interrupt Clear Enable Registers. More... | |
#define | NVIC_ISPR(ispr_id) |
ISPR: Interrupt Set Pending Registers. More... | |
#define | NVIC_ICPR(icpr_id) |
ICPR: Interrupt Clear Pending Registers. More... | |
#define | NVIC_IABR(iabr_id) |
IABR: Interrupt Active Bit Register. More... | |
#define | NVIC_IPR(ipr_id) |
IPR: Interrupt Priority Registers. More... | |
#define | NVIC_STIR MMIO32(STIR_BASE) |
STIR: Software Trigger Interrupt Register. More... | |
#define | NVIC_NMI_IRQ -14 |
#define | NVIC_HARD_FAULT_IRQ -13 |
#define | NVIC_MEM_MANAGE_IRQ -12 |
#define | NVIC_BUS_FAULT_IRQ -11 |
#define | NVIC_USAGE_FAULT_IRQ -10 |
#define | NVIC_SV_CALL_IRQ -5 |
#define | DEBUG_MONITOR_IRQ -4 |
#define | NVIC_PENDSV_IRQ -2 |
#define | NVIC_SYSTICK_IRQ -1 |
Functions | |
void | nvic_enable_irq (uint8_t irqn) |
NVIC Enable Interrupt. More... | |
void | nvic_disable_irq (uint8_t irqn) |
NVIC Disable Interrupt. More... | |
uint8_t | nvic_get_pending_irq (uint8_t irqn) |
NVIC Return Pending Interrupt. More... | |
void | nvic_set_pending_irq (uint8_t irqn) |
NVIC Set Pending Interrupt. More... | |
void | nvic_clear_pending_irq (uint8_t irqn) |
NVIC Clear Pending Interrupt. More... | |
uint8_t | nvic_get_irq_enabled (uint8_t irqn) |
NVIC Return Enabled Interrupt. More... | |
void | nvic_set_priority (uint8_t irqn, uint8_t priority) |
NVIC Set Interrupt Priority. More... | |
uint8_t | nvic_get_active_irq (uint8_t irqn) |
NVIC Return Active Interrupt. More... | |
void | nvic_generate_software_interrupt (uint16_t irqn) |
NVIC Software Trigger Interrupt. More... | |
void | reset_handler (void) |
void | nmi_handler (void) |
void | hard_fault_handler (void) |
void | sv_call_handler (void) |
void | pend_sv_handler (void) |
void | sys_tick_handler (void) |
void | mem_manage_handler (void) |
void | bus_fault_handler (void) |
void | usage_fault_handler (void) |
void | debug_monitor_handler (void) |