The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
TARGET_TB_SENSE_12/TARGET_Silicon_Labs/TARGET_EFM32/common/cmsis_nvic.h@152:235179ab3f27, 2017-10-02 (annotated)
- Committer:
- AnnaBridge
- Date:
- Mon Oct 02 15:20:36 2017 +0100
- Revision:
- 152:235179ab3f27
- Parent:
- 145:64910690c574
Release 152 of the mbed library.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Anna Bridge |
142:4eea097334d6 | 1 | /* mbed Microcontroller Library - cmsis_nvic |
Anna Bridge |
142:4eea097334d6 | 2 | * Copyright (c) 2009-2011 ARM Limited. All rights reserved. |
AnnaBridge | 145:64910690c574 | 3 | */ |
Anna Bridge |
142:4eea097334d6 | 4 | |
Anna Bridge |
142:4eea097334d6 | 5 | #ifndef MBED_CMSIS_NVIC_H |
Anna Bridge |
142:4eea097334d6 | 6 | #define MBED_CMSIS_NVIC_H |
Anna Bridge |
142:4eea097334d6 | 7 | |
AnnaBridge | 145:64910690c574 | 8 | #define NVIC_NUM_VECTORS (16 + EXT_IRQ_COUNT) // CORE + MCU Peripherals |
Anna Bridge |
142:4eea097334d6 | 9 | |
AnnaBridge | 145:64910690c574 | 10 | /* For GCC, use dynamic vector table placement since otherwise we run into an alignment conflict */ |
AnnaBridge | 152:235179ab3f27 | 11 | #if (defined (__GNUC__) && (!defined(__CC_ARM) && (!defined(__ARMCC_VERSION)))) |
AnnaBridge | 145:64910690c574 | 12 | extern uint32_t __start_vector_table__; // Dynamic vector positioning in GCC |
AnnaBridge | 145:64910690c574 | 13 | #define NVIC_RAM_VECTOR_ADDRESS (&__start_vector_table__) |
AnnaBridge | 145:64910690c574 | 14 | #else |
AnnaBridge | 145:64910690c574 | 15 | #define NVIC_RAM_VECTOR_ADDRESS 0x20000000 // Vectors positioned at start of RAM |
Anna Bridge |
142:4eea097334d6 | 16 | #endif |
Anna Bridge |
142:4eea097334d6 | 17 | |
AnnaBridge | 145:64910690c574 | 18 | #endif /* MBED_CMSIS_NVIC_H */ |