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

Fork of mbed by mbed official

Committer:
bogdanm
Date:
Fri Jul 25 09:46:51 2014 +0100
Revision:
87:6213f644d804
Child:
90:cb3d968589d8
Release 87 of the mbed library

Main changes:

- error.h renamed to mbed_error.h to avoid name clashes
- upgraded to V7 of the nRF51822 soft-device 110
- New targets: HRM107
- Improved test infrastructure
- Bug fixes on various targets

Who changed what in which revision?

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