mbed library sources
Fork of mbed-src by
targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/cmsis_nvic.h@593:78ee8643776a, 2015-07-20 (annotated)
- Committer:
- mbed_official
- Date:
- Mon Jul 20 09:00:09 2015 +0100
- Revision:
- 593:78ee8643776a
- Parent:
- 525:c320967f86b9
Synchronized with git revision a68b724d07788e6389ea4d52c622aad767953758
Full URL: https://github.com/mbedmicro/mbed/commit/a68b724d07788e6389ea4d52c622aad767953758/
[Silicon Labs] Bring EFM32 HAL up to date
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 525:c320967f86b9 | 1 | /* mbed Microcontroller Library - cmsis_nvic |
mbed_official | 525:c320967f86b9 | 2 | * Copyright (c) 2009-2011 ARM Limited. All rights reserved. |
mbed_official | 525:c320967f86b9 | 3 | * |
mbed_official | 525:c320967f86b9 | 4 | * CMSIS-style functionality to support dynamic vectors |
mbed_official | 525:c320967f86b9 | 5 | */ |
mbed_official | 525:c320967f86b9 | 6 | |
mbed_official | 525:c320967f86b9 | 7 | #ifndef MBED_CMSIS_NVIC_H |
mbed_official | 525:c320967f86b9 | 8 | #define MBED_CMSIS_NVIC_H |
mbed_official | 525:c320967f86b9 | 9 | |
mbed_official | 525:c320967f86b9 | 10 | #include "cmsis.h" |
mbed_official | 525:c320967f86b9 | 11 | |
mbed_official | 593:78ee8643776a | 12 | #define NVIC_NUM_VECTORS (16 + 21) // CORE + MCU Peripherals |
mbed_official | 525:c320967f86b9 | 13 | #define NVIC_USER_IRQ_OFFSET 16 |
mbed_official | 525:c320967f86b9 | 14 | |
mbed_official | 525:c320967f86b9 | 15 | #ifdef __cplusplus |
mbed_official | 525:c320967f86b9 | 16 | extern "C" { |
mbed_official | 525:c320967f86b9 | 17 | #endif |
mbed_official | 525:c320967f86b9 | 18 | |
mbed_official | 525:c320967f86b9 | 19 | void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector); |
mbed_official | 525:c320967f86b9 | 20 | uint32_t NVIC_GetVector(IRQn_Type IRQn); |
mbed_official | 525:c320967f86b9 | 21 | |
mbed_official | 525:c320967f86b9 | 22 | #ifdef __cplusplus |
mbed_official | 525:c320967f86b9 | 23 | } |
mbed_official | 525:c320967f86b9 | 24 | #endif |
mbed_official | 525:c320967f86b9 | 25 | |
mbed_official | 525:c320967f86b9 | 26 | #endif |