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_EFM32ZG_STK3200/cmsis_nvic.h@121:672067c3ada4, 2016-04-14 (annotated)
- Committer:
- elijahorr
- Date:
- Thu Apr 14 07:28:54 2016 +0000
- Revision:
- 121:672067c3ada4
- Parent:
- 113:f141b2784e32
.
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 + 19) // 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 |