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_STM/TARGET_NUCLEO_F103RB/cmsis_nvic.h@52:a51c77007319, 2013-12-02 (annotated)
- Committer:
- mbed_official
- Date:
- Mon Dec 02 11:30:05 2013 +0000
- Revision:
- 52:a51c77007319
- Child:
- 70:c1fbde68b492
Synchronized with git revision 49df530ae72ce97ccc773d1f2c13b38e868e6abd
Full URL: https://github.com/mbedmicro/mbed/commit/49df530ae72ce97ccc773d1f2c13b38e868e6abd/
Add STMicroelectronics NUCLEO_F103RB target
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 52:a51c77007319 | 1 | /* mbed Microcontroller Library - cmsis_nvic |
mbed_official | 52:a51c77007319 | 2 | * Copyright (c) 2009-2011 ARM Limited. All rights reserved. |
mbed_official | 52:a51c77007319 | 3 | * |
mbed_official | 52:a51c77007319 | 4 | * CMSIS-style functionality to support dynamic vectors |
mbed_official | 52:a51c77007319 | 5 | */ |
mbed_official | 52:a51c77007319 | 6 | |
mbed_official | 52:a51c77007319 | 7 | #ifndef MBED_CMSIS_NVIC_H |
mbed_official | 52:a51c77007319 | 8 | #define MBED_CMSIS_NVIC_H |
mbed_official | 52:a51c77007319 | 9 | |
mbed_official | 52:a51c77007319 | 10 | // CORE: 16 vectors (= 64 bytes from 0x00 to 0x3F) |
mbed_official | 52:a51c77007319 | 11 | // MCU Peripherals: 43 vectors (= 172 bytes from 0x40 to 0xEB) |
mbed_official | 52:a51c77007319 | 12 | // Total: 236 bytes to be reserved in RAM (see scatter file) |
mbed_official | 52:a51c77007319 | 13 | #define NVIC_NUM_VECTORS (16 + 43) |
mbed_official | 52:a51c77007319 | 14 | #define NVIC_USER_IRQ_OFFSET 16 |
mbed_official | 52:a51c77007319 | 15 | |
mbed_official | 52:a51c77007319 | 16 | #include "cmsis.h" |
mbed_official | 52:a51c77007319 | 17 | |
mbed_official | 52:a51c77007319 | 18 | #ifdef __cplusplus |
mbed_official | 52:a51c77007319 | 19 | extern "C" { |
mbed_official | 52:a51c77007319 | 20 | #endif |
mbed_official | 52:a51c77007319 | 21 | |
mbed_official | 52:a51c77007319 | 22 | void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector); |
mbed_official | 52:a51c77007319 | 23 | uint32_t NVIC_GetVector(IRQn_Type IRQn); |
mbed_official | 52:a51c77007319 | 24 | |
mbed_official | 52:a51c77007319 | 25 | #ifdef __cplusplus |
mbed_official | 52:a51c77007319 | 26 | } |
mbed_official | 52:a51c77007319 | 27 | #endif |
mbed_official | 52:a51c77007319 | 28 | |
mbed_official | 52:a51c77007319 | 29 | #endif |