123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 |
- /**********************************************************************
- * $Id$ lpc_libcfg.h 2010-05-21
- ***
- * @file lpc_libcfg.h
- * @brief Library configuration file
- * @version 3.0
- * @date 20. June. 2010
- * @author NXP MCU SW Application Team
- *
- * Copyright(C) 2010, NXP Semiconductor
- * All rights reserved.
- *
- ***********************************************************************
- * 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.
- * Permission to use, copy, modify, and distribute this software and its
- * documentation is hereby granted, under NXP Semiconductors'
- * relevant copyright in the software, without fee, provided that it
- * is used in conjunction with NXP Semiconductors microcontrollers. This
- * copyright, permission, and disclaimer notice must appear in all copies of
- * this code.
- **********************************************************************/
- #ifndef _LPC_LIBCFG_DEFAULT_H_
- #define _LPC_LIBCFG_DEFAULT_H_
- #include "lpc_types.h"
- /************************** DEBUG MODE DEFINITIONS *********************************/
- /* Un-comment the line below to compile the library in DEBUG mode, this will expanse
- the "CHECK_PARAM" macro in the FW library code */
- #ifndef __CODE_RED
- #define DEBUG
- #endif
- /******************* PERIPHERAL FW LIBRARY CONFIGURATION DEFINITIONS ***********************/
- /* Comment the line below to disable the specific peripheral inclusion */
- /* DEBUG_FRAMWORK -------------------- */
- #define _DBGFWK
- /* Clock & Power -------------------- */
- #define _CLKPWR
- /* CRC -------------------- */
- #define _CRC
- /* GPIO ------------------------------- */
- #define _GPIO
- /* NVIC ------------------------------- */
- #define _NVIC
- /* PINSEL ------------------------------- */
- #define _PINSEL
- /* EXTI ------------------------------- */
- #define _EXTI
- /* EMC ------------------------------- */
- #define _EMC
- /* UART ------------------------------- */
- #define _UART
- /* SPI ------------------------------- */
- #define _SPI
- /* SYSTICK --------------------------- */
- #define _SYSTICK
- /* SSP ------------------------------- */
- #define _SSP
- /* I2C ------------------------------- */
- #define _I2C
- /* TIMER ------------------------------- */
- #define _TIM
- /* WDT ------------------------------- */
- #define _WDT
- /* GPDMA ------------------------------- */
- #define _GPDMA
- /* DAC ------------------------------- */
- #define _DAC
- /* ADC ------------------------------- */
- #define _ADC
- /* EEPROM ------------------------------- */
- #define _EEPROM
- /* PWM ------------------------------- */
- #define _PWM
- /* RTC ------------------------------- */
- #define _RTC
- /* I2S ------------------------------- */
- #define _I2S
- /* USB device ------------------------------- */
- #define _USBDEV
- #ifdef _USBDEV
- #define _USB_DEV_AUDIO
- #define _USB_DEV_MASS_STORAGE
- #define _USB_DEV_HID
- #define _USB_DEV_VIRTUAL_COM
- #endif /*_USBDEV*/
- /* USB Host ------------------------------- */
- #define _USBHost
- /* QEI ------------------------------- */
- #define _QEI
- /* MCPWM ------------------------------- */
- #define _MCPWM
- /* CAN--------------------------------*/
- #define _CAN
- /* EMAC ------------------------------ */
- #define _EMAC
- /* LCD ------------------------------ */
- #define _LCD
- /* MCI ------------------------------ */
- #define _MCI
- /* IAP------------------------------ */
- #define _IAP
- /* BOD------------------------------ */
- #define _BOD
- /************************** GLOBAL/PUBLIC MACRO DEFINITIONS *********************************/
- #endif /* _LPC_LIBCFG_DEFAULT_H_ */
|