GameOpener / mbed-src

Fork of mbed-src by mbed official

Committer:
mbed_official
Date:
Thu Feb 20 23:00:08 2014 +0000
Revision:
103:9b881da47c92
Child:
358:9d7ef901f004
Synchronized with git revision 1f2da5f6047218c8c45334c11bdaaaeab3c18841

Full URL: https://github.com/mbedmicro/mbed/commit/1f2da5f6047218c8c45334c11bdaaaeab3c18841/

NXP master merge

Who changed what in which revision?

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