a
Fork of mbed by
LPC2368/cmsis_nvic.h@40:976df7c37ad5, 2012-06-12 (annotated)
- Committer:
- emilmont
- Date:
- Tue Jun 12 18:23:44 2012 +0100
- Revision:
- 40:976df7c37ad5
First build for the new build system
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
emilmont | 40:976df7c37ad5 | 1 | /* mbed Microcontroller Library - cmsis_nvic |
emilmont | 40:976df7c37ad5 | 2 | * Copyright (c) 2009-2011 ARM Limited. All rights reserved. |
emilmont | 40:976df7c37ad5 | 3 | * |
emilmont | 40:976df7c37ad5 | 4 | * CMSIS-style functionality to support dynamic vectors |
emilmont | 40:976df7c37ad5 | 5 | */ |
emilmont | 40:976df7c37ad5 | 6 | |
emilmont | 40:976df7c37ad5 | 7 | #ifndef MBED_CMSIS_NVIC_H |
emilmont | 40:976df7c37ad5 | 8 | #define MBED_CMSIS_NVIC_H |
emilmont | 40:976df7c37ad5 | 9 | |
emilmont | 40:976df7c37ad5 | 10 | #include "cmsis.h" |
emilmont | 40:976df7c37ad5 | 11 | |
emilmont | 40:976df7c37ad5 | 12 | #ifdef __cplusplus |
emilmont | 40:976df7c37ad5 | 13 | extern "C" { |
emilmont | 40:976df7c37ad5 | 14 | #endif |
emilmont | 40:976df7c37ad5 | 15 | |
emilmont | 40:976df7c37ad5 | 16 | void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector); |
emilmont | 40:976df7c37ad5 | 17 | uint32_t NVIC_GetVector(IRQn_Type IRQn); |
emilmont | 40:976df7c37ad5 | 18 | |
emilmont | 40:976df7c37ad5 | 19 | #ifdef __cplusplus |
emilmont | 40:976df7c37ad5 | 20 | } |
emilmont | 40:976df7c37ad5 | 21 | #endif |
emilmont | 40:976df7c37ad5 | 22 | |
emilmont | 40:976df7c37ad5 | 23 | #endif |