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.
Fork of mbed by
TARGET_K64F/cmsis_nvic.h@85:024bf7f99721, 2014-06-11 (annotated)
- Committer:
- bogdanm
- Date:
- Wed Jun 11 15:14:05 2014 +0100
- Revision:
- 85:024bf7f99721
- Parent:
- 82:6473597d706e
- Child:
- 90:cb3d968589d8
Release 85 of the mbed library
Main changes:
- K64F Ethernet fixes
- Updated tests
- Fixes for various mbed targets
- Code cleanup: fixed warnings, more consistent code style
- GCC support for K64F
There is a known issue with the I2C interface on some ST targets. If you
find the I2C interface problematic on your ST board, please log a bug
against this on mbed.org.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 82:6473597d706e | 1 | /* mbed Microcontroller Library - cmsis_nvic |
bogdanm | 82:6473597d706e | 2 | * Copyright (c) 2009-2011 ARM Limited. All rights reserved. |
bogdanm | 82:6473597d706e | 3 | * |
bogdanm | 82:6473597d706e | 4 | * CMSIS-style functionality to support dynamic vectors |
bogdanm | 82:6473597d706e | 5 | */ |
bogdanm | 82:6473597d706e | 6 | |
bogdanm | 82:6473597d706e | 7 | #ifndef MBED_CMSIS_NVIC_H |
bogdanm | 82:6473597d706e | 8 | #define MBED_CMSIS_NVIC_H |
bogdanm | 82:6473597d706e | 9 | |
bogdanm | 85:024bf7f99721 | 10 | #define NVIC_NUM_VECTORS (16 + 86) // CORE + MCU Peripherals |
bogdanm | 82:6473597d706e | 11 | #define NVIC_USER_IRQ_OFFSET 16 |
bogdanm | 82:6473597d706e | 12 | |
bogdanm | 82:6473597d706e | 13 | #include "cmsis.h" |
bogdanm | 82:6473597d706e | 14 | |
bogdanm | 82:6473597d706e | 15 | #ifdef __cplusplus |
bogdanm | 82:6473597d706e | 16 | extern "C" { |
bogdanm | 82:6473597d706e | 17 | #endif |
bogdanm | 82:6473597d706e | 18 | |
bogdanm | 82:6473597d706e | 19 | void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector); |
bogdanm | 82:6473597d706e | 20 | uint32_t NVIC_GetVector(IRQn_Type IRQn); |
bogdanm | 82:6473597d706e | 21 | |
bogdanm | 82:6473597d706e | 22 | #ifdef __cplusplus |
bogdanm | 82:6473597d706e | 23 | } |
bogdanm | 82:6473597d706e | 24 | #endif |
bogdanm | 82:6473597d706e | 25 | |
bogdanm | 82:6473597d706e | 26 | #endif |