]> git.gir.st - tmk_keyboard.git/blob - tmk_core/tool/mbed/mbed-sdk/libraries/mbed/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/cmsis_nvic.h
Merge commit '1fe4406f374291ab2e86e95a97341fd9c475fcb8'
[tmk_keyboard.git] / tmk_core / 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
Imprint / Impressum