mbed library sources. Supersedes mbed-src.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F413xH/device/cmsis_nvic.h@189:f392fc9709a3, 2019-02-20 (annotated)
- Committer:
- AnnaBridge
- Date:
- Wed Feb 20 22:31:08 2019 +0000
- Revision:
- 189:f392fc9709a3
- Parent:
- 168:9672193075cf
mbed library release version 165
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
AnnaBridge | 168:9672193075cf | 1 | /* mbed Microcontroller Library |
AnnaBridge | 168:9672193075cf | 2 | * CMSIS-style functionality to support dynamic vectors |
AnnaBridge | 168:9672193075cf | 3 | ******************************************************************************* |
AnnaBridge | 168:9672193075cf | 4 | * Copyright (c) 2017, STMicroelectronics |
AnnaBridge | 168:9672193075cf | 5 | * All rights reserved. |
AnnaBridge | 168:9672193075cf | 6 | * |
AnnaBridge | 168:9672193075cf | 7 | * Redistribution and use in source and binary forms, with or without |
AnnaBridge | 168:9672193075cf | 8 | * modification, are permitted provided that the following conditions are met: |
AnnaBridge | 168:9672193075cf | 9 | * |
AnnaBridge | 168:9672193075cf | 10 | * 1. Redistributions of source code must retain the above copyright notice, |
AnnaBridge | 168:9672193075cf | 11 | * this list of conditions and the following disclaimer. |
AnnaBridge | 168:9672193075cf | 12 | * 2. Redistributions in binary form must reproduce the above copyright notice, |
AnnaBridge | 168:9672193075cf | 13 | * this list of conditions and the following disclaimer in the documentation |
AnnaBridge | 168:9672193075cf | 14 | * and/or other materials provided with the distribution. |
AnnaBridge | 168:9672193075cf | 15 | * 3. Neither the name of STMicroelectronics nor the names of its contributors |
AnnaBridge | 168:9672193075cf | 16 | * may be used to endorse or promote products derived from this software |
AnnaBridge | 168:9672193075cf | 17 | * without specific prior written permission. |
AnnaBridge | 168:9672193075cf | 18 | * |
AnnaBridge | 168:9672193075cf | 19 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
AnnaBridge | 168:9672193075cf | 20 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
AnnaBridge | 168:9672193075cf | 21 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
AnnaBridge | 168:9672193075cf | 22 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
AnnaBridge | 168:9672193075cf | 23 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
AnnaBridge | 168:9672193075cf | 24 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
AnnaBridge | 168:9672193075cf | 25 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
AnnaBridge | 168:9672193075cf | 26 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
AnnaBridge | 168:9672193075cf | 27 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
AnnaBridge | 168:9672193075cf | 28 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
AnnaBridge | 168:9672193075cf | 29 | ******************************************************************************* |
AnnaBridge | 168:9672193075cf | 30 | */ |
AnnaBridge | 168:9672193075cf | 31 | |
AnnaBridge | 168:9672193075cf | 32 | #ifndef MBED_CMSIS_NVIC_H |
AnnaBridge | 168:9672193075cf | 33 | #define MBED_CMSIS_NVIC_H |
AnnaBridge | 168:9672193075cf | 34 | |
AnnaBridge | 168:9672193075cf | 35 | // STM32F412ZG |
AnnaBridge | 168:9672193075cf | 36 | // CORE: 16 vectors = 64 bytes from 0x00 to 0x3F |
AnnaBridge | 168:9672193075cf | 37 | // MCU Peripherals: 102 vectors = 408 bytes from 0x40 to 0x1D7 |
AnnaBridge | 168:9672193075cf | 38 | // Total: 118 vectors = 472 bytes (0x1D8) to be reserved in RAM |
AnnaBridge | 168:9672193075cf | 39 | #define NVIC_NUM_VECTORS 118 |
AnnaBridge | 168:9672193075cf | 40 | #define NVIC_RAM_VECTOR_ADDRESS (0x20000000) // Vectors positioned at start of RAM |
AnnaBridge | 168:9672193075cf | 41 | |
AnnaBridge | 168:9672193075cf | 42 | |
AnnaBridge | 168:9672193075cf | 43 | #endif |