mbed SDK library sources

Fork of mbed-src by mbed official

Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.

If you are looking for a stable and tested release, please import one of the official mbed library releases:

Import librarymbed

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

Committer:
mbed_official
Date:
Wed Sep 25 10:30:04 2013 +0100
Revision:
30:91c1d09ada54
Synchronized with git revision 8f57c1e84759991fa81ede0da2b4aabe8530fa09

Who changed what in which revision?

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