The official mbed C/C SDK provides the software platform and libraries to build your applications.

Fork of mbed by mbed official

Committer:
Mikchel
Date:
Sun May 03 16:04:42 2015 +0000
Revision:
99:7f6c6de930c0
Parent:
98:8ab26030e058
12

Who changed what in which revision?

UserRevisionLine numberNew 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 98:8ab26030e058 12 #define NVIC_NUM_VECTORS (16 + 39) // 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