aboutsummaryrefslogtreecommitdiff
path: root/include/libopenstm32/nvic.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libopenstm32/nvic.h')
-rw-r--r--include/libopenstm32/nvic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libopenstm32/nvic.h b/include/libopenstm32/nvic.h
index aa427e4..3ccea79 100644
--- a/include/libopenstm32/nvic.h
+++ b/include/libopenstm32/nvic.h
@@ -24,6 +24,7 @@
#include <libopenstm32/common.h>
/* --- NVIC Registers ------------------------------------------------------ */
+
/* ISER: Interrupt Set Enable Registers */
/* Note: 8 32bit Registers */
#define NVIC_ISER(iser_id) MMIO32(NVIC_BASE + 0x00 + (iser_id * 4))
@@ -107,6 +108,7 @@
#define SCB_AFSR MMIO32(SCB_BASE + 0x3C)
/* --- NVIC functions ------------------------------------------------------ */
+
void nvic_enable_irq(s32 irqn);
void nvic_disable_irq(s32 irqn);
s32 nvic_get_pending_irq(s32 irqn);