aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/nvic.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/nvic.h')
-rw-r--r--libmaple/nvic.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libmaple/nvic.h b/libmaple/nvic.h
index e785018..a9f32d6 100644
--- a/libmaple/nvic.h
+++ b/libmaple/nvic.h
@@ -54,10 +54,15 @@
#define NVIC_NR_INTERRUPTS 60
+/* Where to put code */
+#define USER_ADDR_ROM 0x08005000
+#define USER_ADDR_RAM 0x20000C00
+
#ifdef __cplusplus
extern "C"{
#endif
+void nvic_init(void);
void nvic_disable_interrupts(void);
void nvic_enable_interrupt(uint32);
@@ -65,6 +70,5 @@ void nvic_enable_interrupt(uint32);
}
#endif
-
#endif