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-src by
targets/cmsis/TARGET_Freescale/TARGET_K22F/cmsis_nvic.h@324:406fd2029f23, 2014-09-18 (annotated)
- Committer:
- mbed_official
- Date:
- Thu Sep 18 14:00:17 2014 +0100
- Revision:
- 324:406fd2029f23
- Child:
- 358:9d7ef901f004
Synchronized with git revision a73f28e6fbca9559fbed2726410eeb4c0534a4a5
Full URL: https://github.com/mbedmicro/mbed/commit/a73f28e6fbca9559fbed2726410eeb4c0534a4a5/
Extended #476, which does not break ethernet for K64F
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| mbed_official | 324:406fd2029f23 | 1 | /* mbed Microcontroller Library - cmsis_nvic |
| mbed_official | 324:406fd2029f23 | 2 | * Copyright (c) 2009-2011 ARM Limited. All rights reserved. |
| mbed_official | 324:406fd2029f23 | 3 | * |
| mbed_official | 324:406fd2029f23 | 4 | * CMSIS-style functionality to support dynamic vectors |
| mbed_official | 324:406fd2029f23 | 5 | */ |
| mbed_official | 324:406fd2029f23 | 6 | |
| mbed_official | 324:406fd2029f23 | 7 | #ifndef MBED_CMSIS_NVIC_H |
| mbed_official | 324:406fd2029f23 | 8 | #define MBED_CMSIS_NVIC_H |
| mbed_official | 324:406fd2029f23 | 9 | |
| mbed_official | 324:406fd2029f23 | 10 | #define NVIC_NUM_VECTORS (16 + 46) // CORE + MCU Peripherals |
| mbed_official | 324:406fd2029f23 | 11 | #define NVIC_USER_IRQ_OFFSET 16 |
| mbed_official | 324:406fd2029f23 | 12 | |
| mbed_official | 324:406fd2029f23 | 13 | #include "cmsis.h" |
| mbed_official | 324:406fd2029f23 | 14 | |
| mbed_official | 324:406fd2029f23 | 15 | #ifdef __cplusplus |
| mbed_official | 324:406fd2029f23 | 16 | extern "C" { |
| mbed_official | 324:406fd2029f23 | 17 | #endif |
| mbed_official | 324:406fd2029f23 | 18 | |
| mbed_official | 324:406fd2029f23 | 19 | void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector); |
| mbed_official | 324:406fd2029f23 | 20 | uint32_t NVIC_GetVector(IRQn_Type IRQn); |
| mbed_official | 324:406fd2029f23 | 21 | |
| mbed_official | 324:406fd2029f23 | 22 | #ifdef __cplusplus |
| mbed_official | 324:406fd2029f23 | 23 | } |
| mbed_official | 324:406fd2029f23 | 24 | #endif |
| mbed_official | 324:406fd2029f23 | 25 | |
| mbed_official | 324:406fd2029f23 | 26 | #endif |
