NXP's driver library for LPC17xx, ported to mbed's online compiler. Not tested! I had to fix a lot of warings and found a couple of pretty obvious bugs, so the chances are there are more. Original: http://ics.nxp.com/support/documents/microcontrollers/zip/lpc17xx.cmsis.driver.library.zip
lpc17xx_nvic.h
00001 /***********************************************************************//** 00002 * @file : lpc17xx_nvic.h 00003 * @brief : Contains all macro definitions and function prototypes 00004 * support for Nesting Vectored Interrupt firmware library 00005 * on LPC17xx 00006 * @version : 1.0 00007 * @date : 18. Mar. 2009 00008 * @author : HieuNguyen 00009 ************************************************************************** 00010 * Software that is described herein is for illustrative purposes only 00011 * which provides customers with programming information regarding the 00012 * products. This software is supplied "AS IS" without any warranties. 00013 * NXP Semiconductors assumes no responsibility or liability for the 00014 * use of the software, conveys no license or title under any patent, 00015 * copyright, or mask work right to the product. NXP Semiconductors 00016 * reserves the right to make changes in the software without 00017 * notification. NXP Semiconductors also make no representation or 00018 * warranty that such application will be suitable for the specified 00019 * use without further testing or modification. 00020 **************************************************************************/ 00021 00022 /* Peripheral group ----------------------------------------------------------- */ 00023 /** @defgroup NVIC 00024 * @ingroup LPC1700CMSIS_FwLib_Drivers 00025 * @{ 00026 */ 00027 00028 #ifndef LPC17XX_NVIC_H_ 00029 #define LPC17XX_NVIC_H_ 00030 00031 /* Includes ------------------------------------------------------------------- */ 00032 #include "cmsis.h" 00033 #include "lpc_types.h" 00034 00035 #ifdef __cplusplus 00036 extern "C" 00037 { 00038 #endif 00039 00040 00041 /* Public Functions ----------------------------------------------------------- */ 00042 /** @defgroup NVIC_Public_Functions 00043 * @{ 00044 */ 00045 00046 void NVIC_DeInit(void); 00047 void NVIC_SCBDeInit(void); 00048 void NVIC_SetVTOR(uint32_t offset); 00049 00050 /** 00051 * @} 00052 */ 00053 00054 #ifdef __cplusplus 00055 } 00056 #endif 00057 00058 #endif /* LPC17XX_NVIC_H_ */ 00059 00060 /** 00061 * @} 00062 */ 00063 00064 /* --------------------------------- End Of File ------------------------------ */
Generated on Tue Jul 12 2022 17:06:02 by 1.7.2