aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/nvic.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/nvic.h')
-rw-r--r--libmaple/nvic.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/libmaple/nvic.h b/libmaple/nvic.h
index c037a38..2a54b27 100644
--- a/libmaple/nvic.h
+++ b/libmaple/nvic.h
@@ -50,25 +50,21 @@ extern "C"{
/* System control registers */
#define SCB_VTOR 0xE000ED08 // Vector table offset register
-/* PENDING: aren't these obsolete? they're not used anywhere. */
-#define NVIC_VectTab_RAM ((u32)0x20000000)
-#define NVIC_VectTab_FLASH ((u32)0x08000000)
-
enum {
NVIC_TIMER1 = 27,
NVIC_TIMER2 = 28,
NVIC_TIMER3 = 29,
NVIC_TIMER4 = 30,
- NVIC_TIMER5 = 50, // high density only (Maple Native)
- NVIC_TIMER6 = 54, // high density only (Maple Native)
- NVIC_TIMER7 = 55, // high density only (Maple Native)
- NVIC_TIMER8 = 46, // high density only (Maple Native)
+ NVIC_TIMER5 = 50, // high density only (Maple Native, Maple Audio)
+ NVIC_TIMER6 = 54, // high density only
+ NVIC_TIMER7 = 55, // high density only
+ NVIC_TIMER8 = 46, // high density only
NVIC_USART1 = 37,
NVIC_USART2 = 38,
NVIC_USART3 = 39,
- NVIC_USART4 = 52, // high density only (Maple Native)
- NVIC_USART5 = 53, // high density only (Maple Native)
+ NVIC_USART4 = 52, // high density only
+ NVIC_USART5 = 53, // high density only
NVIC_EXTI0 = 6,
NVIC_EXTI1 = 7,