Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
TARGET_NUCLEO_F031K6/cmsis_nvic.h@109:9296ab0bfc11, 2015-10-29 (annotated)
- Committer:
- Kojto
- Date:
- Thu Oct 29 08:40:18 2015 +0000
- Revision:
- 109:9296ab0bfc11
Release 109 of the mbed library
Changes:
- new platforms - NUCLEO_F042K6, WIZNWIKI_W7500ECO
- MTS targets - bootloaders update to 0.1.1
- STM F7 - RTC enable fixes
- STM F4 - i2c pending stop before start fix
- STM all targets - analogout normalization fix
Who changed what in which revision?
| User | Revision | Line number | New contents of line | 
|---|---|---|---|
| Kojto | 109:9296ab0bfc11 | 1 | /* mbed Microcontroller Library | 
| Kojto | 109:9296ab0bfc11 | 2 | * CMSIS-style functionality to support dynamic vectors | 
| Kojto | 109:9296ab0bfc11 | 3 | ******************************************************************************* | 
| Kojto | 109:9296ab0bfc11 | 4 | * Copyright (c) 2015, STMicroelectronics | 
| Kojto | 109:9296ab0bfc11 | 5 | * All rights reserved. | 
| Kojto | 109:9296ab0bfc11 | 6 | * | 
| Kojto | 109:9296ab0bfc11 | 7 | * Redistribution and use in source and binary forms, with or without | 
| Kojto | 109:9296ab0bfc11 | 8 | * modification, are permitted provided that the following conditions are met: | 
| Kojto | 109:9296ab0bfc11 | 9 | * | 
| Kojto | 109:9296ab0bfc11 | 10 | * 1. Redistributions of source code must retain the above copyright notice, | 
| Kojto | 109:9296ab0bfc11 | 11 | * this list of conditions and the following disclaimer. | 
| Kojto | 109:9296ab0bfc11 | 12 | * 2. Redistributions in binary form must reproduce the above copyright notice, | 
| Kojto | 109:9296ab0bfc11 | 13 | * this list of conditions and the following disclaimer in the documentation | 
| Kojto | 109:9296ab0bfc11 | 14 | * and/or other materials provided with the distribution. | 
| Kojto | 109:9296ab0bfc11 | 15 | * 3. Neither the name of STMicroelectronics nor the names of its contributors | 
| Kojto | 109:9296ab0bfc11 | 16 | * may be used to endorse or promote products derived from this software | 
| Kojto | 109:9296ab0bfc11 | 17 | * without specific prior written permission. | 
| Kojto | 109:9296ab0bfc11 | 18 | * | 
| Kojto | 109:9296ab0bfc11 | 19 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | 
| Kojto | 109:9296ab0bfc11 | 20 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | 
| Kojto | 109:9296ab0bfc11 | 21 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | 
| Kojto | 109:9296ab0bfc11 | 22 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE | 
| Kojto | 109:9296ab0bfc11 | 23 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | 
| Kojto | 109:9296ab0bfc11 | 24 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | 
| Kojto | 109:9296ab0bfc11 | 25 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | 
| Kojto | 109:9296ab0bfc11 | 26 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | 
| Kojto | 109:9296ab0bfc11 | 27 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 
| Kojto | 109:9296ab0bfc11 | 28 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 
| Kojto | 109:9296ab0bfc11 | 29 | ******************************************************************************* | 
| Kojto | 109:9296ab0bfc11 | 30 | */ | 
| Kojto | 109:9296ab0bfc11 | 31 | |
| Kojto | 109:9296ab0bfc11 | 32 | #ifndef MBED_CMSIS_NVIC_H | 
| Kojto | 109:9296ab0bfc11 | 33 | #define MBED_CMSIS_NVIC_H | 
| Kojto | 109:9296ab0bfc11 | 34 | |
| Kojto | 109:9296ab0bfc11 | 35 | // STM32F031K6 | 
| Kojto | 109:9296ab0bfc11 | 36 | // CORE: 16 vectors = 64 bytes from 0x00 to 0x3F | 
| Kojto | 109:9296ab0bfc11 | 37 | // MCU Peripherals: 28 vectors = 112 bytes from 0x40 to 0xAF | 
| Kojto | 109:9296ab0bfc11 | 38 | // Total: 44 vectors = 176 bytes (0xB0) to be reserved in RAM | 
| Kojto | 109:9296ab0bfc11 | 39 | #define NVIC_NUM_VECTORS 44 | 
| Kojto | 109:9296ab0bfc11 | 40 | #define NVIC_USER_IRQ_OFFSET 16 | 
| Kojto | 109:9296ab0bfc11 | 41 | |
| Kojto | 109:9296ab0bfc11 | 42 | #include "cmsis.h" | 
| Kojto | 109:9296ab0bfc11 | 43 | |
| Kojto | 109:9296ab0bfc11 | 44 | #ifdef __cplusplus | 
| Kojto | 109:9296ab0bfc11 | 45 | extern "C" { | 
| Kojto | 109:9296ab0bfc11 | 46 | #endif | 
| Kojto | 109:9296ab0bfc11 | 47 | |
| Kojto | 109:9296ab0bfc11 | 48 | void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector); | 
| Kojto | 109:9296ab0bfc11 | 49 | uint32_t NVIC_GetVector(IRQn_Type IRQn); | 
| Kojto | 109:9296ab0bfc11 | 50 | |
| Kojto | 109:9296ab0bfc11 | 51 | #ifdef __cplusplus | 
| Kojto | 109:9296ab0bfc11 | 52 | } | 
| Kojto | 109:9296ab0bfc11 | 53 | #endif | 
| Kojto | 109:9296ab0bfc11 | 54 | |
| Kojto | 109:9296ab0bfc11 | 55 | #endif | 


