mbed library sources
Dependents: frdm_kl05z_gpio_test
Fork of mbed-src by
targets/cmsis/TARGET_Freescale/TARGET_K64F/cmsis_nvic.h@225:2af4c5d0160c, 2014-06-11 (annotated)
- Committer:
- mbed_official
- Date:
- Wed Jun 11 09:30:07 2014 +0100
- Revision:
- 225:2af4c5d0160c
- Parent:
- 146:f64d43ff0c18
Synchronized with git revision ff65c63a80830b0c36f91f13488d79bafef442e6
Full URL: https://github.com/mbedmicro/mbed/commit/ff65c63a80830b0c36f91f13488d79bafef442e6/
Add support for remote CAN frames on LPC11CXX
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 |