The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
TARGET_LPC2368/cmsis_nvic.h@80:8e73be2a2ac1, 2014-02-21 (annotated)
- Committer:
- emilmont
- Date:
- Fri Feb 21 12:21:39 2014 +0000
- Revision:
- 80:8e73be2a2ac1
- Parent:
- 66:9c8f0e3462fb
- Child:
- 90:cb3d968589d8
First alpha release for the NRF51822 target (to be tested in the online IDE)
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 66:9c8f0e3462fb | 1 | /* mbed Microcontroller Library - cmsis_nvic |
bogdanm | 66:9c8f0e3462fb | 2 | * Copyright (c) 2009-2011 ARM Limited. All rights reserved. |
bogdanm | 66:9c8f0e3462fb | 3 | * |
bogdanm | 66:9c8f0e3462fb | 4 | * CMSIS-style functionality to support dynamic vectors |
bogdanm | 66:9c8f0e3462fb | 5 | */ |
bogdanm | 66:9c8f0e3462fb | 6 | |
bogdanm | 66:9c8f0e3462fb | 7 | #ifndef MBED_CMSIS_NVIC_H |
bogdanm | 66:9c8f0e3462fb | 8 | #define MBED_CMSIS_NVIC_H |
bogdanm | 66:9c8f0e3462fb | 9 | |
bogdanm | 66:9c8f0e3462fb | 10 | #define NVIC_NUM_VECTORS 32 |
bogdanm | 66:9c8f0e3462fb | 11 | #define NVIC_USER_IRQ_OFFSET 0 |
bogdanm | 66:9c8f0e3462fb | 12 | |
bogdanm | 66:9c8f0e3462fb | 13 | #include "cmsis.h" |
bogdanm | 66:9c8f0e3462fb | 14 | |
bogdanm | 66:9c8f0e3462fb | 15 | #ifdef __cplusplus |
bogdanm | 66:9c8f0e3462fb | 16 | extern "C" { |
bogdanm | 66:9c8f0e3462fb | 17 | #endif |
bogdanm | 66:9c8f0e3462fb | 18 | |
bogdanm | 66:9c8f0e3462fb | 19 | void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector); |
bogdanm | 66:9c8f0e3462fb | 20 | uint32_t NVIC_GetVector(IRQn_Type IRQn); |
bogdanm | 66:9c8f0e3462fb | 21 | |
bogdanm | 66:9c8f0e3462fb | 22 | #ifdef __cplusplus |
bogdanm | 66:9c8f0e3462fb | 23 | } |
bogdanm | 66:9c8f0e3462fb | 24 | #endif |
bogdanm | 66:9c8f0e3462fb | 25 | |
bogdanm | 66:9c8f0e3462fb | 26 | #endif |