mbed library sources
Dependents: frdm_kl05z_gpio_test
Fork of mbed-src by
targets/cmsis/TARGET_Freescale/TARGET_MCU_K64F/cmsis_nvic.h@323:9e901b0a5aa1, 2014-09-13 (annotated)
- Committer:
- shaoziyang
- Date:
- Sat Sep 13 14:25:46 2014 +0000
- Revision:
- 323:9e901b0a5aa1
- Parent:
- 320:be04b2b1e3f2
test with CLOCK_SETUP = 0
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 146:f64d43ff0c18 | 1 | /* mbed Microcontroller Library - cmsis_nvic |
mbed_official | 146:f64d43ff0c18 | 2 | * Copyright (c) 2009-2011 ARM Limited. All rights reserved. |
mbed_official | 146:f64d43ff0c18 | 3 | * |
mbed_official | 146:f64d43ff0c18 | 4 | * CMSIS-style functionality to support dynamic vectors |
mbed_official | 146:f64d43ff0c18 | 5 | */ |
mbed_official | 146:f64d43ff0c18 | 6 | |
mbed_official | 146:f64d43ff0c18 | 7 | #ifndef MBED_CMSIS_NVIC_H |
mbed_official | 146:f64d43ff0c18 | 8 | #define MBED_CMSIS_NVIC_H |
mbed_official | 146:f64d43ff0c18 | 9 | |
mbed_official | 225:2af4c5d0160c | 10 | #define NVIC_NUM_VECTORS (16 + 86) // CORE + MCU Peripherals |
mbed_official | 146:f64d43ff0c18 | 11 | #define NVIC_USER_IRQ_OFFSET 16 |
mbed_official | 146:f64d43ff0c18 | 12 | |
mbed_official | 146:f64d43ff0c18 | 13 | #include "cmsis.h" |
mbed_official | 146:f64d43ff0c18 | 14 | |
mbed_official | 146:f64d43ff0c18 | 15 | #ifdef __cplusplus |
mbed_official | 146:f64d43ff0c18 | 16 | extern "C" { |
mbed_official | 146:f64d43ff0c18 | 17 | #endif |
mbed_official | 146:f64d43ff0c18 | 18 | |
mbed_official | 146:f64d43ff0c18 | 19 | void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector); |
mbed_official | 146:f64d43ff0c18 | 20 | uint32_t NVIC_GetVector(IRQn_Type IRQn); |
mbed_official | 146:f64d43ff0c18 | 21 | |
mbed_official | 146:f64d43ff0c18 | 22 | #ifdef __cplusplus |
mbed_official | 146:f64d43ff0c18 | 23 | } |
mbed_official | 146:f64d43ff0c18 | 24 | #endif |
mbed_official | 146:f64d43ff0c18 | 25 | |
mbed_official | 146:f64d43ff0c18 | 26 | #endif |