]> git.donarmstrong.com Git - qmk_firmware.git/blob - tool/mbed/mbed-sdk/libraries/mbed/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/cmsis_nvic.h
Squashed 'tmk_core/' changes from 7967731..b9e0ea0
[qmk_firmware.git] / tool / mbed / mbed-sdk / libraries / mbed / targets / cmsis / TARGET_Freescale / TARGET_KLXX / TARGET_KL43Z / cmsis_nvic.h
1 /* mbed Microcontroller Library - cmsis_nvic
2  * Copyright (c) 2009-2011 ARM Limited. All rights reserved.
3  *
4  * CMSIS-style functionality to support dynamic vectors
5  */ 
6
7 #ifndef MBED_CMSIS_NVIC_H
8 #define MBED_CMSIS_NVIC_H
9
10 #define NVIC_NUM_VECTORS      (16 + 32)   // CORE + MCU Peripherals
11 #define NVIC_USER_IRQ_OFFSET  16
12
13 #include "cmsis.h"
14
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18
19 void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector);
20 uint32_t NVIC_GetVector(IRQn_Type IRQn);
21
22 #ifdef __cplusplus
23 }
24 #endif
25
26 #endif