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