fix for mbed lib issue 3 (i2c problem) see also https://mbed.org/users/mbed_official/code/mbed/issues/3 affected implementations: LPC812, LPC11U24, LPC1768, LPC2368, LPC4088
Fork of mbed-src by
vendor/NXP/LPC1768/cmsis/cmsis_nvic.h@13:bd9ff402dd42, 2013-08-05 (annotated)
- Committer:
- Shikaneo
- Date:
- Mon Aug 05 02:27:27 2013 +0000
- Revision:
- 13:bd9ff402dd42
- Parent:
- 10:3bc89ef62ce7
equipped timeout
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
emilmont | 10:3bc89ef62ce7 | 1 | /* mbed Microcontroller Library - cmsis_nvic |
emilmont | 10:3bc89ef62ce7 | 2 | * Copyright (c) 2009-2011 ARM Limited. All rights reserved. |
emilmont | 10:3bc89ef62ce7 | 3 | * |
emilmont | 10:3bc89ef62ce7 | 4 | * CMSIS-style functionality to support dynamic vectors |
emilmont | 10:3bc89ef62ce7 | 5 | */ |
emilmont | 10:3bc89ef62ce7 | 6 | |
emilmont | 10:3bc89ef62ce7 | 7 | #ifndef MBED_CMSIS_NVIC_H |
emilmont | 10:3bc89ef62ce7 | 8 | #define MBED_CMSIS_NVIC_H |
emilmont | 10:3bc89ef62ce7 | 9 | |
emilmont | 10:3bc89ef62ce7 | 10 | #include "cmsis.h" |
emilmont | 10:3bc89ef62ce7 | 11 | |
emilmont | 10:3bc89ef62ce7 | 12 | #ifdef __cplusplus |
emilmont | 10:3bc89ef62ce7 | 13 | extern "C" { |
emilmont | 10:3bc89ef62ce7 | 14 | #endif |
emilmont | 10:3bc89ef62ce7 | 15 | |
emilmont | 10:3bc89ef62ce7 | 16 | void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector); |
emilmont | 10:3bc89ef62ce7 | 17 | uint32_t NVIC_GetVector(IRQn_Type IRQn); |
emilmont | 10:3bc89ef62ce7 | 18 | |
emilmont | 10:3bc89ef62ce7 | 19 | #ifdef __cplusplus |
emilmont | 10:3bc89ef62ce7 | 20 | } |
emilmont | 10:3bc89ef62ce7 | 21 | #endif |
emilmont | 10:3bc89ef62ce7 | 22 | |
emilmont | 10:3bc89ef62ce7 | 23 | #endif |