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:
mbed_official
Date:
Fri Feb 07 18:00:11 2014 +0000
Revision:
85:e1a8e879a6a9
Synchronized with git revision 4b2b368a6a3b1f0fd33d99917981c67436c4aebe

Full URL: https://github.com/mbedmicro/mbed/commit/4b2b368a6a3b1f0fd33d99917981c67436c4aebe/

Who changed what in which revision?

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