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
LPC2368/cmsis_nvic.h@44:24d45a770a51, 2012-11-21 (annotated)
- Committer:
- emilmont
- Date:
- Wed Nov 21 10:49:56 2012 +0000
- Revision:
- 44:24d45a770a51
- Parent:
- 40:976df7c37ad5
Complete refactoring of the mbed library to move the target dependent code to a thin well defined layer, defining a proper object oriented C API to be implemented by the different silicon vendors.
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 |
