my fork
Fork of mbed by
TARGET_KL43Z/cmsis_nvic.h@90:cb3d968589d8, 2014-10-28 (annotated)
- Committer:
- Kojto
- Date:
- Tue Oct 28 16:40:41 2014 +0000
- Revision:
- 90:cb3d968589d8
Release 90 of the mbed library
Changes:
- Freescale KSDK update (v1.0)
- K22 - new target addition
- KL43Z - new target addition
- Nucleo F091RC - new target addition
- Nucleo L152RE - STM32Cube driver
- Nordic - Softdevice v7.1.0
- Nvic files - BSD License
- LPC824 - various HAL fixes
- Nucleo F411RE - CMSIS - IAR files
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Kojto | 90:cb3d968589d8 | 1 | /* mbed Microcontroller Library - cmsis_nvic |
Kojto | 90:cb3d968589d8 | 2 | * Copyright (c) 2009-2011 ARM Limited. All rights reserved. |
Kojto | 90:cb3d968589d8 | 3 | * |
Kojto | 90:cb3d968589d8 | 4 | * CMSIS-style functionality to support dynamic vectors |
Kojto | 90:cb3d968589d8 | 5 | */ |
Kojto | 90:cb3d968589d8 | 6 | |
Kojto | 90:cb3d968589d8 | 7 | #ifndef MBED_CMSIS_NVIC_H |
Kojto | 90:cb3d968589d8 | 8 | #define MBED_CMSIS_NVIC_H |
Kojto | 90:cb3d968589d8 | 9 | |
Kojto | 90:cb3d968589d8 | 10 | #define NVIC_NUM_VECTORS (16 + 32) // CORE + MCU Peripherals |
Kojto | 90:cb3d968589d8 | 11 | #define NVIC_USER_IRQ_OFFSET 16 |
Kojto | 90:cb3d968589d8 | 12 | |
Kojto | 90:cb3d968589d8 | 13 | #include "cmsis.h" |
Kojto | 90:cb3d968589d8 | 14 | |
Kojto | 90:cb3d968589d8 | 15 | #ifdef __cplusplus |
Kojto | 90:cb3d968589d8 | 16 | extern "C" { |
Kojto | 90:cb3d968589d8 | 17 | #endif |
Kojto | 90:cb3d968589d8 | 18 | |
Kojto | 90:cb3d968589d8 | 19 | void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector); |
Kojto | 90:cb3d968589d8 | 20 | uint32_t NVIC_GetVector(IRQn_Type IRQn); |
Kojto | 90:cb3d968589d8 | 21 | |
Kojto | 90:cb3d968589d8 | 22 | #ifdef __cplusplus |
Kojto | 90:cb3d968589d8 | 23 | } |
Kojto | 90:cb3d968589d8 | 24 | #endif |
Kojto | 90:cb3d968589d8 | 25 | |
Kojto | 90:cb3d968589d8 | 26 | #endif |