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
cmsis_nvic.c
00001 /* mbed Microcontroller Library - cmsis_nvic for LPC2368 00002 * Copyright (c) 2009 ARM Limited. All rights reserved. 00003 * 00004 * CMSIS-style functionality to support dynamic vectors 00005 */ 00006 00007 #include "cmsis_nvic.h" 00008 00009 void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector) { 00010 LPC_VIC->VectAddr[(int)IRQn] = vector; 00011 } 00012 00013 uint32_t NVIC_GetVector(IRQn_Type IRQn) { 00014 return LPC_VIC->VectAddr[(int)IRQn]; 00015 } 00016
Generated on Tue Jul 12 2022 13:47:00 by 1.7.2