Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed by
Diff: TARGET_K64F/cmsis_nvic.h
- Revision:
- 122:f9eeca106725
- Parent:
- 120:7c328cabac7e
diff -r 6c34061e7c34 -r f9eeca106725 TARGET_K64F/cmsis_nvic.h
--- 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
}
