Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
TARGET_LPC11U35_401/cmsis_nvic.h@80:8e73be2a2ac1, 2014-02-21 (annotated)
- Committer:
- emilmont
- Date:
- Fri Feb 21 12:21:39 2014 +0000
- Revision:
- 80:8e73be2a2ac1
- Parent:
- 74:a842253909c9
- 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 | 74:a842253909c9 | 1 | /* mbed Microcontroller Library - cmsis_nvic |
| bogdanm | 74:a842253909c9 | 2 | * Copyright (c) 2009-2011 ARM Limited. All rights reserved. |
| bogdanm | 74:a842253909c9 | 3 | * |
| bogdanm | 74:a842253909c9 | 4 | * CMSIS-style functionality to support dynamic vectors |
| bogdanm | 74:a842253909c9 | 5 | */ |
| bogdanm | 74:a842253909c9 | 6 | |
| bogdanm | 74:a842253909c9 | 7 | #ifndef MBED_CMSIS_NVIC_H |
| bogdanm | 74:a842253909c9 | 8 | #define MBED_CMSIS_NVIC_H |
| bogdanm | 74:a842253909c9 | 9 | |
| bogdanm | 74:a842253909c9 | 10 | #include "cmsis.h" |
| bogdanm | 74:a842253909c9 | 11 | |
| bogdanm | 74:a842253909c9 | 12 | #define NVIC_NUM_VECTORS (16 + 32) // CORE + MCU Peripherals |
| bogdanm | 74:a842253909c9 | 13 | #define NVIC_USER_IRQ_OFFSET 16 |
| bogdanm | 74:a842253909c9 | 14 | |
| bogdanm | 74:a842253909c9 | 15 | #ifdef __cplusplus |
| bogdanm | 74:a842253909c9 | 16 | extern "C" { |
| bogdanm | 74:a842253909c9 | 17 | #endif |
| bogdanm | 74:a842253909c9 | 18 | |
| bogdanm | 74:a842253909c9 | 19 | void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector); |
| bogdanm | 74:a842253909c9 | 20 | uint32_t NVIC_GetVector(IRQn_Type IRQn); |
| bogdanm | 74:a842253909c9 | 21 | |
| bogdanm | 74:a842253909c9 | 22 | #ifdef __cplusplus |
| bogdanm | 74:a842253909c9 | 23 | } |
| bogdanm | 74:a842253909c9 | 24 | #endif |
| bogdanm | 74:a842253909c9 | 25 | |
| bogdanm | 74:a842253909c9 | 26 | #endif |


