mbed library sources
Fork of mbed-src by
targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/cmsis_nvic.h@308:59cc78a25982, 2014-09-05 (annotated)
- Committer:
- todotani
- Date:
- Fri Sep 05 14:20:33 2014 +0000
- Revision:
- 308:59cc78a25982
- Parent:
- 82:0b31dbcd4769
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 | 82:0b31dbcd4769 | 1 | /* mbed Microcontroller Library - cmsis_nvic |
mbed_official | 82:0b31dbcd4769 | 2 | * Copyright (c) 2009-2011 ARM Limited. All rights reserved. |
mbed_official | 82:0b31dbcd4769 | 3 | * |
mbed_official | 82:0b31dbcd4769 | 4 | * CMSIS-style functionality to support dynamic vectors |
mbed_official | 82:0b31dbcd4769 | 5 | */ |
mbed_official | 82:0b31dbcd4769 | 6 | |
mbed_official | 82:0b31dbcd4769 | 7 | #ifndef MBED_CMSIS_NVIC_H |
mbed_official | 82:0b31dbcd4769 | 8 | #define MBED_CMSIS_NVIC_H |
mbed_official | 82:0b31dbcd4769 | 9 | |
mbed_official | 82:0b31dbcd4769 | 10 | #include "cmsis.h" |
mbed_official | 82:0b31dbcd4769 | 11 | |
mbed_official | 82:0b31dbcd4769 | 12 | #define NVIC_NUM_VECTORS (16 + 32) // CORE + MCU Peripherals |
mbed_official | 82:0b31dbcd4769 | 13 | #define NVIC_USER_IRQ_OFFSET 16 |
mbed_official | 82:0b31dbcd4769 | 14 | |
mbed_official | 82:0b31dbcd4769 | 15 | #ifdef __cplusplus |
mbed_official | 82:0b31dbcd4769 | 16 | extern "C" { |
mbed_official | 82:0b31dbcd4769 | 17 | #endif |
mbed_official | 82:0b31dbcd4769 | 18 | |
mbed_official | 82:0b31dbcd4769 | 19 | void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector); |
mbed_official | 82:0b31dbcd4769 | 20 | uint32_t NVIC_GetVector(IRQn_Type IRQn); |
mbed_official | 82:0b31dbcd4769 | 21 | |
mbed_official | 82:0b31dbcd4769 | 22 | #ifdef __cplusplus |
mbed_official | 82:0b31dbcd4769 | 23 | } |
mbed_official | 82:0b31dbcd4769 | 24 | #endif |
mbed_official | 82:0b31dbcd4769 | 25 | |
mbed_official | 82:0b31dbcd4769 | 26 | #endif |