cc y / mbed

Fork of mbed by mbed official

Revision:
122:f9eeca106725
Parent:
120:7c328cabac7e
--- a/TARGET_K64F/cmsis_nvic.h	Wed May 25 16:44:06 2016 +0100
+++ b/TARGET_K64F/cmsis_nvic.h	Thu Jul 07 14:34:11 2016 +0100
@@ -32,14 +32,17 @@
 #ifndef MBED_CMSIS_NVIC_H
 #define MBED_CMSIS_NVIC_H
 
+#define NVIC_NUM_VECTORS      (16 + 86)   // CORE + MCU Peripherals
+#define NVIC_USER_IRQ_OFFSET  16
+
 #include "cmsis.h"
 
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector);
-uint32_t NVIC_GetVector(IRQn_Type IRQn);
+void __NVIC_SetVector(IRQn_Type IRQn, uint32_t vector);
+uint32_t __NVIC_GetVector(IRQn_Type IRQn);
 
 #ifdef __cplusplus
 }