From e4e7b661172477aaa682a9cccfbac89adb1d01f6 Mon Sep 17 00:00:00 2001 From: Pixel Date: Sun, 23 Jan 2011 12:15:41 -0800 Subject: Adding basic CMSIS source code; v1.3.0 from the NXP website currently. --- arch/arm/lpc17xx/Drivers/include/lpc17xx_nvic.h | 64 +++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 arch/arm/lpc17xx/Drivers/include/lpc17xx_nvic.h (limited to 'arch/arm/lpc17xx/Drivers/include/lpc17xx_nvic.h') diff --git a/arch/arm/lpc17xx/Drivers/include/lpc17xx_nvic.h b/arch/arm/lpc17xx/Drivers/include/lpc17xx_nvic.h new file mode 100644 index 0000000..e6bcf3b --- /dev/null +++ b/arch/arm/lpc17xx/Drivers/include/lpc17xx_nvic.h @@ -0,0 +1,64 @@ +/***********************************************************************//** + * @file lpc17xx_nvic.h + * @brief Contains all macro definitions and function prototypes + * support for Nesting Vectored Interrupt firmware library + * on LPC17xx + * @version 2.0 + * @date 21. May. 2010 + * @author NXP MCU SW Application Team + ************************************************************************** + * Software that is described herein is for illustrative purposes only + * which provides customers with programming information regarding the + * products. This software is supplied "AS IS" without any warranties. + * NXP Semiconductors assumes no responsibility or liability for the + * use of the software, conveys no license or title under any patent, + * copyright, or mask work right to the product. NXP Semiconductors + * reserves the right to make changes in the software without + * notification. NXP Semiconductors also make no representation or + * warranty that such application will be suitable for the specified + * use without further testing or modification. + **************************************************************************/ + +/* Peripheral group ----------------------------------------------------------- */ +/** @defgroup NVIC NVIC + * @ingroup LPC1700CMSIS_FwLib_Drivers + * @{ + */ + +#ifndef LPC17XX_NVIC_H_ +#define LPC17XX_NVIC_H_ + +/* Includes ------------------------------------------------------------------- */ +#include "LPC17xx.h" +#include "lpc_types.h" + +#ifdef __cplusplus +extern "C" +{ +#endif + + +/* Public Functions ----------------------------------------------------------- */ +/** @defgroup NVIC_Public_Functions NVIC Public Functions + * @{ + */ + +void NVIC_DeInit(void); +void NVIC_SCBDeInit(void); +void NVIC_SetVTOR(uint32_t offset); + +/** + * @} + */ + +#ifdef __cplusplus +} +#endif + +#endif /* LPC17XX_NVIC_H_ */ + +/** + * @} + */ + +/* --------------------------------- End Of File ------------------------------ */ -- cgit v1.2.3