my fork

Dependents:   Nucleo_blueNRG

Fork of mbed by mbed official

Committer:
bogdanm
Date:
Mon Dec 09 18:43:03 2013 +0200
Revision:
73:1efda918f0ba
Child:
76:824293ae5e43
Release 73 of the mbed library

Main changes:

- added support for KL46Z and NUCLEO_F103RB
- STM32 USB device support
- various bug fixes

Who changed what in which revision?

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