mbed library sources

Dependents:   Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more

Superseded

This library was superseded by mbed-dev - https://os.mbed.com/users/mbed_official/code/mbed-dev/.

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:
bogdanm
Date:
Wed Aug 07 16:43:59 2013 +0300
Revision:
15:4892fe388435
Parent:
13:0645d8841f51
Child:
358:9d7ef901f004
Added LPC4088 target and interrupt chaining code

Who changed what in which revision?

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