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_IPR32(ipr_id) |
IPR: Interrupt Priority Registers. More... | |
#define | NVIC_NMI_IRQ -14 |
#define | NVIC_HARD_FAULT_IRQ -13 |
#define | NVIC_SV_CALL_IRQ -5 |
#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... | |
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) |