mbed library sources
Dependents: Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more
Superseded
This library was superseded by mbed-dev - https://os.mbed.com/users/mbed_official/code/mbed-dev/.
Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.
If you are looking for a stable and tested release, please import one of the official mbed library releases:
Import librarymbed
The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
targets/cmsis/TARGET_NXP/TARGET_LPC43XX/cmsis_nvic.h@135:067cc8ba23da, 2014-03-25 (annotated)
- Committer:
- mbed_official
- Date:
- Tue Mar 25 10:15:07 2014 +0000
- Revision:
- 135:067cc8ba23da
- Parent:
- 20:4263a77256ae
- Child:
- 358:9d7ef901f004
Synchronized with git revision 11bc6fdd038cd58284639ec6ff158b57e4b4bf68
Full URL: https://github.com/mbedmicro/mbed/commit/11bc6fdd038cd58284639ec6ff158b57e4b4bf68/
[NUCLEO_F302R8] Improvements in clock configuration, spi default pins, code formatting
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 20:4263a77256ae | 1 | /* mbed Microcontroller Library - cmsis_nvic |
bogdanm | 20:4263a77256ae | 2 | * Copyright (c) 2009-2011 ARM Limited. All rights reserved. |
bogdanm | 20:4263a77256ae | 3 | * |
bogdanm | 20:4263a77256ae | 4 | * CMSIS-style functionality to support dynamic vectors |
bogdanm | 20:4263a77256ae | 5 | */ |
bogdanm | 20:4263a77256ae | 6 | |
bogdanm | 20:4263a77256ae | 7 | #ifndef MBED_CMSIS_NVIC_H |
bogdanm | 20:4263a77256ae | 8 | #define MBED_CMSIS_NVIC_H |
bogdanm | 20:4263a77256ae | 9 | |
bogdanm | 20:4263a77256ae | 10 | #define NVIC_NUM_VECTORS (16 + 53) // CORE + MCU Peripherals |
bogdanm | 20:4263a77256ae | 11 | #define NVIC_USER_IRQ_OFFSET 16 |
bogdanm | 20:4263a77256ae | 12 | |
bogdanm | 20:4263a77256ae | 13 | #include "cmsis.h" |
bogdanm | 20:4263a77256ae | 14 | |
bogdanm | 20:4263a77256ae | 15 | #ifdef __cplusplus |
bogdanm | 20:4263a77256ae | 16 | extern "C" { |
bogdanm | 20:4263a77256ae | 17 | #endif |
bogdanm | 20:4263a77256ae | 18 | |
bogdanm | 20:4263a77256ae | 19 | void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector); |
bogdanm | 20:4263a77256ae | 20 | uint32_t NVIC_GetVector(IRQn_Type IRQn); |
bogdanm | 20:4263a77256ae | 21 | |
bogdanm | 20:4263a77256ae | 22 | #ifdef __cplusplus |
bogdanm | 20:4263a77256ae | 23 | } |
bogdanm | 20:4263a77256ae | 24 | #endif |
bogdanm | 20:4263a77256ae | 25 | |
bogdanm | 20:4263a77256ae | 26 | #endif |