mbed library sources
Fork of mbed-src by
targets/cmsis/TARGET_Freescale/TARGET_K20D50M/cmsis_nvic.h@308:59cc78a25982, 2014-09-05 (annotated)
- Committer:
- todotani
- Date:
- Fri Sep 05 14:20:33 2014 +0000
- Revision:
- 308:59cc78a25982
- Parent:
- 255:20b371a9491b
BLE_Health_Thermometer for mbed HRM1017 with BLE library 0.1.0
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 68:41613245dfd7 | 1 | /* mbed Microcontroller Library - cmsis_nvic |
mbed_official | 68:41613245dfd7 | 2 | * Copyright (c) 2009-2011 ARM Limited. All rights reserved. |
mbed_official | 68:41613245dfd7 | 3 | * |
mbed_official | 68:41613245dfd7 | 4 | * CMSIS-style functionality to support dynamic vectors |
mbed_official | 68:41613245dfd7 | 5 | */ |
mbed_official | 68:41613245dfd7 | 6 | |
mbed_official | 68:41613245dfd7 | 7 | #ifndef MBED_CMSIS_NVIC_H |
mbed_official | 68:41613245dfd7 | 8 | #define MBED_CMSIS_NVIC_H |
mbed_official | 68:41613245dfd7 | 9 | |
mbed_official | 68:41613245dfd7 | 10 | #define NVIC_NUM_VECTORS (16 + 46) // CORE + MCU Peripherals |
mbed_official | 68:41613245dfd7 | 11 | #define NVIC_USER_IRQ_OFFSET 16 |
mbed_official | 68:41613245dfd7 | 12 | |
mbed_official | 68:41613245dfd7 | 13 | #include "cmsis.h" |
mbed_official | 68:41613245dfd7 | 14 | |
mbed_official | 68:41613245dfd7 | 15 | #ifdef __cplusplus |
mbed_official | 68:41613245dfd7 | 16 | extern "C" { |
mbed_official | 68:41613245dfd7 | 17 | #endif |
mbed_official | 68:41613245dfd7 | 18 | |
mbed_official | 68:41613245dfd7 | 19 | void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector); |
mbed_official | 68:41613245dfd7 | 20 | uint32_t NVIC_GetVector(IRQn_Type IRQn); |
mbed_official | 68:41613245dfd7 | 21 | |
mbed_official | 68:41613245dfd7 | 22 | #ifdef __cplusplus |
mbed_official | 68:41613245dfd7 | 23 | } |
mbed_official | 68:41613245dfd7 | 24 | #endif |
mbed_official | 68:41613245dfd7 | 25 | |
mbed_official | 68:41613245dfd7 | 26 | #endif |