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: 1-RenBuggyTimed RenBED_RGB RenBED_RGB_PWM RenBED_RGB
Fork of mbed by
TARGET_EFM32WG_STK3800/cmsis_nvic.h@113:f141b2784e32, 2016-02-02 (annotated)
- Committer:
- Kojto
- Date:
- Tue Feb 02 14:43:35 2016 +0000
- Revision:
- 113:f141b2784e32
- Parent:
- 98:8ab26030e058
Release 113 of the mbed library
Changes:
- new targets - Silabs Perl Gecko, TY51822
- Silabs - emlib update to 4.1.0, various bugfixes as result
- STM B96B_F446VE - add async serial support
- Freescale KLXX - rtc lock fix
- LPC11U68 and LPC1549 - pwm bugfixes - duty cycle
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Kojto | 98:8ab26030e058 | 1 | /* mbed Microcontroller Library - cmsis_nvic |
| Kojto | 98:8ab26030e058 | 2 | * Copyright (c) 2009-2011 ARM Limited. All rights reserved. |
| Kojto | 98:8ab26030e058 | 3 | * |
| Kojto | 98:8ab26030e058 | 4 | * CMSIS-style functionality to support dynamic vectors |
| Kojto | 113:f141b2784e32 | 5 | */ |
| Kojto | 98:8ab26030e058 | 6 | |
| Kojto | 98:8ab26030e058 | 7 | #ifndef MBED_CMSIS_NVIC_H |
| Kojto | 98:8ab26030e058 | 8 | #define MBED_CMSIS_NVIC_H |
| Kojto | 98:8ab26030e058 | 9 | |
| Kojto | 98:8ab26030e058 | 10 | #include "cmsis.h" |
| Kojto | 98:8ab26030e058 | 11 | |
| Kojto | 113:f141b2784e32 | 12 | #define NVIC_NUM_VECTORS (16 + 40) // CORE + MCU Peripherals |
| Kojto | 98:8ab26030e058 | 13 | #define NVIC_USER_IRQ_OFFSET 16 |
| Kojto | 98:8ab26030e058 | 14 | |
| Kojto | 98:8ab26030e058 | 15 | #ifdef __cplusplus |
| Kojto | 98:8ab26030e058 | 16 | extern "C" { |
| Kojto | 98:8ab26030e058 | 17 | #endif |
| Kojto | 98:8ab26030e058 | 18 | |
| Kojto | 98:8ab26030e058 | 19 | void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector); |
| Kojto | 98:8ab26030e058 | 20 | uint32_t NVIC_GetVector(IRQn_Type IRQn); |
| Kojto | 98:8ab26030e058 | 21 | |
| Kojto | 98:8ab26030e058 | 22 | #ifdef __cplusplus |
| Kojto | 98:8ab26030e058 | 23 | } |
| Kojto | 98:8ab26030e058 | 24 | #endif |
| Kojto | 98:8ab26030e058 | 25 | |
| Kojto | 98:8ab26030e058 | 26 | #endif |
