Fork of the official mbed C/C SDK provides the software platform and libraries to build your applications for RenBED.

Dependents:   1-RenBuggyTimed RenBED_RGB RenBED_RGB_PWM RenBED_RGB

Fork of mbed by mbed official

Committer:
bogdanm
Date:
Wed Mar 19 18:28:32 2014 +0000
Revision:
81:7d30d6019079
Child:
90:cb3d968589d8
Release 81 of the mbed library

Main changes:

- Updates and fixes for many targets
- LPC1768: serial interface code fixes
- nRF51822 targets now output a .hex file
- More exporters
- More flexible GPIO API

Who changed what in which revision?

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