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.
Fork of mbed by
TARGET_UBLOX_C027/cmsis_nvic.h@77:869cf507173a, 2014-02-14 (annotated)
- Committer:
- emilmont
- Date:
- Fri Feb 14 14:36:43 2014 +0000
- Revision:
- 77:869cf507173a
- Child:
- 90:cb3d968589d8
Release 77 of the mbed library
Main changes:
* Add target NUCLEO_F030R8
* Add target NUCLEO_F401RE
* Add target NUCLEO_F103RB
* Add target NUCLEO_L152RE
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| emilmont | 77:869cf507173a | 1 | /* mbed Microcontroller Library - cmsis_nvic |
| emilmont | 77:869cf507173a | 2 | * Copyright (c) 2009-2011 ARM Limited. All rights reserved. |
| emilmont | 77:869cf507173a | 3 | * |
| emilmont | 77:869cf507173a | 4 | * CMSIS-style functionality to support dynamic vectors |
| emilmont | 77:869cf507173a | 5 | */ |
| emilmont | 77:869cf507173a | 6 | |
| emilmont | 77:869cf507173a | 7 | #ifndef MBED_CMSIS_NVIC_H |
| emilmont | 77:869cf507173a | 8 | #define MBED_CMSIS_NVIC_H |
| emilmont | 77:869cf507173a | 9 | |
| emilmont | 77:869cf507173a | 10 | #include "cmsis.h" |
| emilmont | 77:869cf507173a | 11 | |
| emilmont | 77:869cf507173a | 12 | #define NVIC_NUM_VECTORS (16 + 33) |
| emilmont | 77:869cf507173a | 13 | #define NVIC_USER_IRQ_OFFSET 16 |
| emilmont | 77:869cf507173a | 14 | |
| emilmont | 77:869cf507173a | 15 | #ifdef __cplusplus |
| emilmont | 77:869cf507173a | 16 | extern "C" { |
| emilmont | 77:869cf507173a | 17 | #endif |
| emilmont | 77:869cf507173a | 18 | |
| emilmont | 77:869cf507173a | 19 | void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector); |
| emilmont | 77:869cf507173a | 20 | uint32_t NVIC_GetVector(IRQn_Type IRQn); |
| emilmont | 77:869cf507173a | 21 | |
| emilmont | 77:869cf507173a | 22 | #ifdef __cplusplus |
| emilmont | 77:869cf507173a | 23 | } |
| emilmont | 77:869cf507173a | 24 | #endif |
| emilmont | 77:869cf507173a | 25 | |
| emilmont | 77:869cf507173a | 26 | #endif |
