mbed library sources

Dependents:   frdm_kl05z_gpio_test

Fork of mbed-src by mbed official

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