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