...
Dependents: 2doejemplo Labo_TRSE_Drone
Fork of mbed by
TARGET_LPC4088_EA/cmsis_nvic.h@71:7ec3cb6bbcc4, 2013-11-29 (annotated)
- Committer:
- jalp89
- Date:
- Fri Nov 29 09:39:46 2013 +0000
- Revision:
- 71:7ec3cb6bbcc4
- Parent:
- 70:673126e12c73
...
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 70:673126e12c73 | 1 | /* mbed Microcontroller Library - cmsis_nvic |
bogdanm | 70:673126e12c73 | 2 | * Copyright (c) 2009-2011 ARM Limited. All rights reserved. |
bogdanm | 70:673126e12c73 | 3 | * |
bogdanm | 70:673126e12c73 | 4 | * CMSIS-style functionality to support dynamic vectors |
bogdanm | 70:673126e12c73 | 5 | */ |
bogdanm | 70:673126e12c73 | 6 | |
bogdanm | 70:673126e12c73 | 7 | #ifndef MBED_CMSIS_NVIC_H |
bogdanm | 70:673126e12c73 | 8 | #define MBED_CMSIS_NVIC_H |
bogdanm | 70:673126e12c73 | 9 | |
bogdanm | 70:673126e12c73 | 10 | #define NVIC_NUM_VECTORS (16 + 41) // CORE + MCU Peripherals |
bogdanm | 70:673126e12c73 | 11 | #define NVIC_USER_IRQ_OFFSET 16 |
bogdanm | 70:673126e12c73 | 12 | |
bogdanm | 70:673126e12c73 | 13 | #include "cmsis.h" |
bogdanm | 70:673126e12c73 | 14 | |
bogdanm | 70:673126e12c73 | 15 | #ifdef __cplusplus |
bogdanm | 70:673126e12c73 | 16 | extern "C" { |
bogdanm | 70:673126e12c73 | 17 | #endif |
bogdanm | 70:673126e12c73 | 18 | |
bogdanm | 70:673126e12c73 | 19 | void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector); |
bogdanm | 70:673126e12c73 | 20 | uint32_t NVIC_GetVector(IRQn_Type IRQn); |
bogdanm | 70:673126e12c73 | 21 | |
bogdanm | 70:673126e12c73 | 22 | #ifdef __cplusplus |
bogdanm | 70:673126e12c73 | 23 | } |
bogdanm | 70:673126e12c73 | 24 | #endif |
bogdanm | 70:673126e12c73 | 25 | |
bogdanm | 70:673126e12c73 | 26 | #endif |