mbed library sources

Fork of mbed-src by mbed official

Committer:
mbed_official
Date:
Mon Dec 02 11:30:05 2013 +0000
Revision:
52:a51c77007319
Child:
70:c1fbde68b492
Synchronized with git revision 49df530ae72ce97ccc773d1f2c13b38e868e6abd

Full URL: https://github.com/mbedmicro/mbed/commit/49df530ae72ce97ccc773d1f2c13b38e868e6abd/

Add STMicroelectronics NUCLEO_F103RB target

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 52:a51c77007319 1 /* mbed Microcontroller Library - cmsis_nvic
mbed_official 52:a51c77007319 2 * Copyright (c) 2009-2011 ARM Limited. All rights reserved.
mbed_official 52:a51c77007319 3 *
mbed_official 52:a51c77007319 4 * CMSIS-style functionality to support dynamic vectors
mbed_official 52:a51c77007319 5 */
mbed_official 52:a51c77007319 6
mbed_official 52:a51c77007319 7 #ifndef MBED_CMSIS_NVIC_H
mbed_official 52:a51c77007319 8 #define MBED_CMSIS_NVIC_H
mbed_official 52:a51c77007319 9
mbed_official 52:a51c77007319 10 // CORE: 16 vectors (= 64 bytes from 0x00 to 0x3F)
mbed_official 52:a51c77007319 11 // MCU Peripherals: 43 vectors (= 172 bytes from 0x40 to 0xEB)
mbed_official 52:a51c77007319 12 // Total: 236 bytes to be reserved in RAM (see scatter file)
mbed_official 52:a51c77007319 13 #define NVIC_NUM_VECTORS (16 + 43)
mbed_official 52:a51c77007319 14 #define NVIC_USER_IRQ_OFFSET 16
mbed_official 52:a51c77007319 15
mbed_official 52:a51c77007319 16 #include "cmsis.h"
mbed_official 52:a51c77007319 17
mbed_official 52:a51c77007319 18 #ifdef __cplusplus
mbed_official 52:a51c77007319 19 extern "C" {
mbed_official 52:a51c77007319 20 #endif
mbed_official 52:a51c77007319 21
mbed_official 52:a51c77007319 22 void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector);
mbed_official 52:a51c77007319 23 uint32_t NVIC_GetVector(IRQn_Type IRQn);
mbed_official 52:a51c77007319 24
mbed_official 52:a51c77007319 25 #ifdef __cplusplus
mbed_official 52:a51c77007319 26 }
mbed_official 52:a51c77007319 27 #endif
mbed_official 52:a51c77007319 28
mbed_official 52:a51c77007319 29 #endif