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.
mbed-os/targets/TARGET_NUVOTON/TARGET_NUC472/device/cmsis_nvic.h@0:fbdae7e6d805, 2018-05-14 (annotated)
- Committer:
- borlanic
- Date:
- Mon May 14 11:29:06 2018 +0000
- Revision:
- 0:fbdae7e6d805
BBR
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| borlanic | 0:fbdae7e6d805 | 1 | /* mbed Microcontroller Library |
| borlanic | 0:fbdae7e6d805 | 2 | * Copyright (c) 2015-2016 Nuvoton |
| borlanic | 0:fbdae7e6d805 | 3 | * |
| borlanic | 0:fbdae7e6d805 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| borlanic | 0:fbdae7e6d805 | 5 | * you may not use this file except in compliance with the License. |
| borlanic | 0:fbdae7e6d805 | 6 | * You may obtain a copy of the License at |
| borlanic | 0:fbdae7e6d805 | 7 | * |
| borlanic | 0:fbdae7e6d805 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| borlanic | 0:fbdae7e6d805 | 9 | * |
| borlanic | 0:fbdae7e6d805 | 10 | * Unless required by applicable law or agreed to in writing, software |
| borlanic | 0:fbdae7e6d805 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| borlanic | 0:fbdae7e6d805 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| borlanic | 0:fbdae7e6d805 | 13 | * See the License for the specific language governing permissions and |
| borlanic | 0:fbdae7e6d805 | 14 | * limitations under the License. |
| borlanic | 0:fbdae7e6d805 | 15 | */ |
| borlanic | 0:fbdae7e6d805 | 16 | |
| borlanic | 0:fbdae7e6d805 | 17 | #ifndef MBED_CMSIS_NVIC_H |
| borlanic | 0:fbdae7e6d805 | 18 | #define MBED_CMSIS_NVIC_H |
| borlanic | 0:fbdae7e6d805 | 19 | |
| borlanic | 0:fbdae7e6d805 | 20 | #define NVIC_NUM_VECTORS (16 + 142) |
| borlanic | 0:fbdae7e6d805 | 21 | |
| borlanic | 0:fbdae7e6d805 | 22 | #if defined(__CC_ARM) || (defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)) |
| borlanic | 0:fbdae7e6d805 | 23 | # define NVIC_RAM_VECTOR_ADDRESS ((uint32_t) &Image$$ER_IRAMVEC$$ZI$$Base) |
| borlanic | 0:fbdae7e6d805 | 24 | #elif defined(__ICCARM__) |
| borlanic | 0:fbdae7e6d805 | 25 | # pragma section = "IRAMVEC" |
| borlanic | 0:fbdae7e6d805 | 26 | # define NVIC_RAM_VECTOR_ADDRESS ((uint32_t) __section_begin("IRAMVEC")) |
| borlanic | 0:fbdae7e6d805 | 27 | #elif defined(__GNUC__) |
| borlanic | 0:fbdae7e6d805 | 28 | # define NVIC_RAM_VECTOR_ADDRESS ((uint32_t) &__start_vector_table__) |
| borlanic | 0:fbdae7e6d805 | 29 | #endif |
| borlanic | 0:fbdae7e6d805 | 30 | |
| borlanic | 0:fbdae7e6d805 | 31 | #endif |