mbed library sources

Dependents:   frdm_kl05z_gpio_test

Fork of mbed-src by mbed official

Committer:
shaoziyang
Date:
Sat Sep 13 14:25:46 2014 +0000
Revision:
323:9e901b0a5aa1
Parent:
15:4892fe388435
test with CLOCK_SETUP = 0

Who changed what in which revision?

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