Fork of the official mbed C/C SDK provides the software platform and libraries to build your applications for RenBED.
Dependents: 1-RenBuggyTimed RenBED_RGB RenBED_RGB_PWM RenBED_RGB
Fork of mbed by
TARGET_EFM32HG_STK3400/cmsis_nvic.h@103:bad568076d81, 2015-07-21 (annotated)
- Committer:
- Kojto
- Date:
- Tue Jul 21 09:59:51 2015 +0200
- Revision:
- 103:bad568076d81
- Parent:
- 98:8ab26030e058
Release 103 of the mbed library
Changes:
- C027 pin and clock corrections
- KL25Z - RTC clock setup 3
- LPC11U68 - initial stack size correction
- Silabs - GPIO fixes and stack space for ARMCC fix
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 | 98:8ab26030e058 | 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 | 103:bad568076d81 | 12 | #define NVIC_NUM_VECTORS (16 + 21) // 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 |