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
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
