Date: March 20, 2011 This library is created from "LPC17xx CMSIS-Compliant Standard Peripheral Firmware Driver Library (GNU, Keil, IAR) (Jan 28, 2011)", available from NXP's website, under "All microcontrollers support documents" [[http://ics.nxp.com/support/documents/microcontrollers/?type=software]] You will need to follow [[/projects/libraries/svn/mbed/trunk/LPC1768/LPC17xx.h]] while using this library Examples provided here [[/users/frank26080115/programs/LPC1700CMSIS_Examples/]] The beautiful thing is that NXP does not place copyright protection on any of the files in here Only a few modifications are made to make it compile with the mbed online compiler, I fixed some warnings as well. This is untested as of March 20, 2011 Forum post about this library: [[/forum/mbed/topic/2030/]]

Committer:
frank26080115
Date:
Sun Mar 20 18:45:15 2011 +0000
Revision:
0:84d7747641aa

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
frank26080115 0:84d7747641aa 1 /***********************************************************************//**
frank26080115 0:84d7747641aa 2 * @file lpc17xx_nvic.h
frank26080115 0:84d7747641aa 3 * @brief Contains all macro definitions and function prototypes
frank26080115 0:84d7747641aa 4 * support for Nesting Vectored Interrupt firmware library
frank26080115 0:84d7747641aa 5 * on LPC17xx
frank26080115 0:84d7747641aa 6 * @version 2.0
frank26080115 0:84d7747641aa 7 * @date 21. May. 2010
frank26080115 0:84d7747641aa 8 * @author NXP MCU SW Application Team
frank26080115 0:84d7747641aa 9 **************************************************************************
frank26080115 0:84d7747641aa 10 * Software that is described herein is for illustrative purposes only
frank26080115 0:84d7747641aa 11 * which provides customers with programming information regarding the
frank26080115 0:84d7747641aa 12 * products. This software is supplied "AS IS" without any warranties.
frank26080115 0:84d7747641aa 13 * NXP Semiconductors assumes no responsibility or liability for the
frank26080115 0:84d7747641aa 14 * use of the software, conveys no license or title under any patent,
frank26080115 0:84d7747641aa 15 * copyright, or mask work right to the product. NXP Semiconductors
frank26080115 0:84d7747641aa 16 * reserves the right to make changes in the software without
frank26080115 0:84d7747641aa 17 * notification. NXP Semiconductors also make no representation or
frank26080115 0:84d7747641aa 18 * warranty that such application will be suitable for the specified
frank26080115 0:84d7747641aa 19 * use without further testing or modification.
frank26080115 0:84d7747641aa 20 **************************************************************************/
frank26080115 0:84d7747641aa 21
frank26080115 0:84d7747641aa 22 /* Peripheral group ----------------------------------------------------------- */
frank26080115 0:84d7747641aa 23 /** @defgroup NVIC NVIC
frank26080115 0:84d7747641aa 24 * @ingroup LPC1700CMSIS_FwLib_Drivers
frank26080115 0:84d7747641aa 25 * @{
frank26080115 0:84d7747641aa 26 */
frank26080115 0:84d7747641aa 27
frank26080115 0:84d7747641aa 28 #ifndef LPC17XX_NVIC_H_
frank26080115 0:84d7747641aa 29 #define LPC17XX_NVIC_H_
frank26080115 0:84d7747641aa 30
frank26080115 0:84d7747641aa 31 /* Includes ------------------------------------------------------------------- */
frank26080115 0:84d7747641aa 32 #include "LPC17xx.h"
frank26080115 0:84d7747641aa 33 #include "lpc_types.h"
frank26080115 0:84d7747641aa 34
frank26080115 0:84d7747641aa 35 #ifdef __cplusplus
frank26080115 0:84d7747641aa 36 extern "C"
frank26080115 0:84d7747641aa 37 {
frank26080115 0:84d7747641aa 38 #endif
frank26080115 0:84d7747641aa 39
frank26080115 0:84d7747641aa 40
frank26080115 0:84d7747641aa 41 /* Public Functions ----------------------------------------------------------- */
frank26080115 0:84d7747641aa 42 /** @defgroup NVIC_Public_Functions NVIC Public Functions
frank26080115 0:84d7747641aa 43 * @{
frank26080115 0:84d7747641aa 44 */
frank26080115 0:84d7747641aa 45
frank26080115 0:84d7747641aa 46 void NVIC_DeInit(void);
frank26080115 0:84d7747641aa 47 void NVIC_SCBDeInit(void);
frank26080115 0:84d7747641aa 48 void NVIC_SetVTOR(uint32_t offset);
frank26080115 0:84d7747641aa 49
frank26080115 0:84d7747641aa 50 /**
frank26080115 0:84d7747641aa 51 * @}
frank26080115 0:84d7747641aa 52 */
frank26080115 0:84d7747641aa 53
frank26080115 0:84d7747641aa 54 #ifdef __cplusplus
frank26080115 0:84d7747641aa 55 }
frank26080115 0:84d7747641aa 56 #endif
frank26080115 0:84d7747641aa 57
frank26080115 0:84d7747641aa 58 #endif /* LPC17XX_NVIC_H_ */
frank26080115 0:84d7747641aa 59
frank26080115 0:84d7747641aa 60 /**
frank26080115 0:84d7747641aa 61 * @}
frank26080115 0:84d7747641aa 62 */
frank26080115 0:84d7747641aa 63
frank26080115 0:84d7747641aa 64 /* --------------------------------- End Of File ------------------------------ */