t
Fork of mbed-dev by
Diff: targets/TARGET_Maxim/TARGET_MAX32625/device/cmsis_nvic.h
- Revision:
- 167:e84263d55307
- Parent:
- 150:02e0a0aed4ec
diff -r c97ed07ec1a8 -r e84263d55307 targets/TARGET_Maxim/TARGET_MAX32625/device/cmsis_nvic.h --- a/targets/TARGET_Maxim/TARGET_MAX32625/device/cmsis_nvic.h Thu Jun 08 15:02:37 2017 +0100 +++ b/targets/TARGET_Maxim/TARGET_MAX32625/device/cmsis_nvic.h Wed Jun 21 17:46:44 2017 +0100 @@ -34,20 +34,10 @@ #ifndef MBED_CMSIS_NVIC_H #define MBED_CMSIS_NVIC_H -#include "cmsis.h" - -#define NVIC_NUM_VECTORS MXC_IRQ_COUNT -#define NVIC_USER_IRQ_OFFSET 16 +extern void (*ramVectorTable[MXC_IRQ_COUNT])(void); -#ifdef __cplusplus -extern "C" { -#endif - -void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector); -uint32_t NVIC_GetVector(IRQn_Type IRQn); - -#ifdef __cplusplus -} -#endif +#define NVIC_NUM_VECTORS (MXC_IRQ_COUNT) +#define NVIC_RAM_VECTOR_ADDRESS (ramVectorTable) // Vectors positioned at start of RAM #endif /* MBED_CMSIS_NVIC_H */ +