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.
cmsis_nvic.h@15:d1a9de3f4fe0, 2009-11-16 (annotated)
- Committer:
- simon.ford@mbed.co.uk
- Date:
- Mon Nov 16 17:23:08 2009 +0000
- Revision:
- 15:d1a9de3f4fe0
* Update Serial to support primitive interrupt event
* Update some CMSIS-level interrupt functions
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
simon.ford@mbed.co.uk | 15:d1a9de3f4fe0 | 1 | /* mbed Microcontroller Library - cmsis_nvic |
simon.ford@mbed.co.uk | 15:d1a9de3f4fe0 | 2 | * Copyright (c) 2009 ARM Limited. All rights reserved. |
simon.ford@mbed.co.uk | 15:d1a9de3f4fe0 | 3 | * sford |
simon.ford@mbed.co.uk | 15:d1a9de3f4fe0 | 4 | * |
simon.ford@mbed.co.uk | 15:d1a9de3f4fe0 | 5 | * CMSIS-style functionality to support dynamic vectors |
simon.ford@mbed.co.uk | 15:d1a9de3f4fe0 | 6 | */ |
simon.ford@mbed.co.uk | 15:d1a9de3f4fe0 | 7 | |
simon.ford@mbed.co.uk | 15:d1a9de3f4fe0 | 8 | #ifndef MBED_CMSIS_NVIC_H |
simon.ford@mbed.co.uk | 15:d1a9de3f4fe0 | 9 | #define MBED_CMSIS_NVIC_H |
simon.ford@mbed.co.uk | 15:d1a9de3f4fe0 | 10 | |
simon.ford@mbed.co.uk | 15:d1a9de3f4fe0 | 11 | #include "cmsis.h" |
simon.ford@mbed.co.uk | 15:d1a9de3f4fe0 | 12 | |
simon.ford@mbed.co.uk | 15:d1a9de3f4fe0 | 13 | #ifdef __cplusplus |
simon.ford@mbed.co.uk | 15:d1a9de3f4fe0 | 14 | extern "C" { |
simon.ford@mbed.co.uk | 15:d1a9de3f4fe0 | 15 | #endif |
simon.ford@mbed.co.uk | 15:d1a9de3f4fe0 | 16 | |
simon.ford@mbed.co.uk | 15:d1a9de3f4fe0 | 17 | void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector); |
simon.ford@mbed.co.uk | 15:d1a9de3f4fe0 | 18 | uint32_t NVIC_GetVector(IRQn_Type IRQn); |
simon.ford@mbed.co.uk | 15:d1a9de3f4fe0 | 19 | |
simon.ford@mbed.co.uk | 15:d1a9de3f4fe0 | 20 | #ifdef __cplusplus |
simon.ford@mbed.co.uk | 15:d1a9de3f4fe0 | 21 | } |
simon.ford@mbed.co.uk | 15:d1a9de3f4fe0 | 22 | #endif |
simon.ford@mbed.co.uk | 15:d1a9de3f4fe0 | 23 | |
simon.ford@mbed.co.uk | 15:d1a9de3f4fe0 | 24 | #endif |