meh

Fork of mbed by mbed official

Committer:
bogdanm
Date:
Fri Dec 13 14:18:40 2013 +0200
Revision:
74:a842253909c9
Child:
90:cb3d968589d8
Release 74 of the mbed library

Main changes:

- added Embedded Artists LPC11U35 quick start board to the SDK
- fixes for LPC4088/NUCLEO_F103RB

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bogdanm 74:a842253909c9 1 /* mbed Microcontroller Library - cmsis_nvic
bogdanm 74:a842253909c9 2 * Copyright (c) 2009-2011 ARM Limited. All rights reserved.
bogdanm 74:a842253909c9 3 *
bogdanm 74:a842253909c9 4 * CMSIS-style functionality to support dynamic vectors
bogdanm 74:a842253909c9 5 */
bogdanm 74:a842253909c9 6
bogdanm 74:a842253909c9 7 #ifndef MBED_CMSIS_NVIC_H
bogdanm 74:a842253909c9 8 #define MBED_CMSIS_NVIC_H
bogdanm 74:a842253909c9 9
bogdanm 74:a842253909c9 10 #include "cmsis.h"
bogdanm 74:a842253909c9 11
bogdanm 74:a842253909c9 12 #define NVIC_NUM_VECTORS (16 + 32) // CORE + MCU Peripherals
bogdanm 74:a842253909c9 13 #define NVIC_USER_IRQ_OFFSET 16
bogdanm 74:a842253909c9 14
bogdanm 74:a842253909c9 15 #ifdef __cplusplus
bogdanm 74:a842253909c9 16 extern "C" {
bogdanm 74:a842253909c9 17 #endif
bogdanm 74:a842253909c9 18
bogdanm 74:a842253909c9 19 void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector);
bogdanm 74:a842253909c9 20 uint32_t NVIC_GetVector(IRQn_Type IRQn);
bogdanm 74:a842253909c9 21
bogdanm 74:a842253909c9 22 #ifdef __cplusplus
bogdanm 74:a842253909c9 23 }
bogdanm 74:a842253909c9 24 #endif
bogdanm 74:a842253909c9 25
bogdanm 74:a842253909c9 26 #endif