lpc17xx_nvic.h (2412B)
1 /********************************************************************** 2 * $Id$ lpc17xx_nvic.h 2010-05-21 3 *//** 4 * @file lpc17xx_nvic.h 5 * @brief Contains all macro definitions and function prototypes 6 * support for Nesting Vectored Interrupt firmware library 7 * on LPC17xx 8 * @version 2.0 9 * @date 21. May. 2010 10 * @author NXP MCU SW Application Team 11 * 12 * Copyright(C) 2010, NXP Semiconductor 13 * All rights reserved. 14 * 15 *********************************************************************** 16 * Software that is described herein is for illustrative purposes only 17 * which provides customers with programming information regarding the 18 * products. This software is supplied "AS IS" without any warranties. 19 * NXP Semiconductors assumes no responsibility or liability for the 20 * use of the software, conveys no license or title under any patent, 21 * copyright, or mask work right to the product. NXP Semiconductors 22 * reserves the right to make changes in the software without 23 * notification. NXP Semiconductors also make no representation or 24 * warranty that such application will be suitable for the specified 25 * use without further testing or modification. 26 * Permission to use, copy, modify, and distribute this software and its 27 * documentation is hereby granted, under NXP Semiconductors' 28 * relevant copyright in the software, without fee, provided that it 29 * is used in conjunction with NXP Semiconductors microcontrollers. This 30 * copyright, permission, and disclaimer notice must appear in all copies of 31 * this code. 32 **********************************************************************/ 33 34 /* Peripheral group ----------------------------------------------------------- */ 35 /** @defgroup NVIC NVIC (Nested Vectored Interrupt Controller) 36 * @ingroup LPC1700CMSIS_FwLib_Drivers 37 * @{ 38 */ 39 40 #ifndef LPC17XX_NVIC_H_ 41 #define LPC17XX_NVIC_H_ 42 43 /* Includes ------------------------------------------------------------------- */ 44 #include "LPC17xx.h" 45 #include "lpc_types.h" 46 47 #ifdef __cplusplus 48 extern "C" 49 { 50 #endif 51 52 53 /* Public Functions ----------------------------------------------------------- */ 54 /** @defgroup NVIC_Public_Functions NVIC Public Functions 55 * @{ 56 */ 57 58 void NVIC_DeInit(void); 59 void NVIC_SCBDeInit(void); 60 void NVIC_SetVTOR(uint32_t offset); 61 62 /** 63 * @} 64 */ 65 66 #ifdef __cplusplus 67 } 68 #endif 69 70 #endif /* LPC17XX_NVIC_H_ */ 71 72 /** 73 * @} 74 */ 75 76 /* --------------------------------- End Of File ------------------------------ */