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