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

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

mbed 2

This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.

Committer:
bogdanm
Date:
Fri Sep 12 16:41:52 2014 +0100
Revision:
89:552587b429a1
Parent:
87:6213f644d804
Child:
90:cb3d968589d8
Release 89 of the mbed library

Main changes:

- low power optimizations for Nordic targets
- code structure changes for Freescale K64F targets
- bug fixes in various backends

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 #include "cmsis.h"
bogdanm 87:6213f644d804 11
bogdanm 87:6213f644d804 12 #define NVIC_NUM_VECTORS (16 + 32) // CORE + MCU Peripherals
bogdanm 87:6213f644d804 13 #define NVIC_USER_IRQ_OFFSET 16
bogdanm 87:6213f644d804 14
bogdanm 87:6213f644d804 15 #ifdef __cplusplus
bogdanm 87:6213f644d804 16 extern "C" {
bogdanm 87:6213f644d804 17 #endif
bogdanm 87:6213f644d804 18
bogdanm 87:6213f644d804 19 void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector);
bogdanm 87:6213f644d804 20 uint32_t NVIC_GetVector(IRQn_Type IRQn);
bogdanm 87:6213f644d804 21
bogdanm 87:6213f644d804 22 #ifdef __cplusplus
bogdanm 87:6213f644d804 23 }
bogdanm 87:6213f644d804 24 #endif
bogdanm 87:6213f644d804 25
bogdanm 87:6213f644d804 26 #endif