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_LPC4088/cmsis_nvic.h@65:5798e58a58b1, 2013-08-12 (annotated)
- Committer:
- bogdanm
- Date:
- Mon Aug 12 13:17:46 2013 +0300
- Revision:
- 65:5798e58a58b1
- Child:
- 66:9c8f0e3462fb
New target (LPC4088), new features (interrupt chaining), bug fixes (KL25Z I2C).
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 65:5798e58a58b1 | 1 | /* mbed Microcontroller Library - cmsis_nvic |
bogdanm | 65:5798e58a58b1 | 2 | * Copyright (c) 2009-2011 ARM Limited. All rights reserved. |
bogdanm | 65:5798e58a58b1 | 3 | * |
bogdanm | 65:5798e58a58b1 | 4 | * CMSIS-style functionality to support dynamic vectors |
bogdanm | 65:5798e58a58b1 | 5 | */ |
bogdanm | 65:5798e58a58b1 | 6 | |
bogdanm | 65:5798e58a58b1 | 7 | #ifndef MBED_CMSIS_NVIC_H |
bogdanm | 65:5798e58a58b1 | 8 | #define MBED_CMSIS_NVIC_H |
bogdanm | 65:5798e58a58b1 | 9 | |
bogdanm | 65:5798e58a58b1 | 10 | #define NVIC_NUM_VECTORS (16 + 41) // CORE + MCU Peripherals |
bogdanm | 65:5798e58a58b1 | 11 | #define NVIC_USER_IRQ_OFFSET 16 |
bogdanm | 65:5798e58a58b1 | 12 | |
bogdanm | 65:5798e58a58b1 | 13 | #include "cmsis.h" |
bogdanm | 65:5798e58a58b1 | 14 | |
bogdanm | 65:5798e58a58b1 | 15 | #ifdef __cplusplus |
bogdanm | 65:5798e58a58b1 | 16 | extern "C" { |
bogdanm | 65:5798e58a58b1 | 17 | #endif |
bogdanm | 65:5798e58a58b1 | 18 | |
bogdanm | 65:5798e58a58b1 | 19 | void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector); |
bogdanm | 65:5798e58a58b1 | 20 | uint32_t NVIC_GetVector(IRQn_Type IRQn); |
bogdanm | 65:5798e58a58b1 | 21 | |
bogdanm | 65:5798e58a58b1 | 22 | #ifdef __cplusplus |
bogdanm | 65:5798e58a58b1 | 23 | } |
bogdanm | 65:5798e58a58b1 | 24 | #endif |
bogdanm | 65:5798e58a58b1 | 25 | |
bogdanm | 65:5798e58a58b1 | 26 | #endif |