lpc_libcfg_default.h 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. /**********************************************************************
  2. * $Id$ lpc_libcfg.h 2010-05-21
  3. ***
  4. * @file lpc_libcfg.h
  5. * @brief Library configuration file
  6. * @version 3.0
  7. * @date 20. June. 2010
  8. * @author NXP MCU SW Application Team
  9. *
  10. * Copyright(C) 2010, NXP Semiconductor
  11. * All rights reserved.
  12. *
  13. ***********************************************************************
  14. * Software that is described herein is for illustrative purposes only
  15. * which provides customers with programming information regarding the
  16. * products. This software is supplied "AS IS" without any warranties.
  17. * NXP Semiconductors assumes no responsibility or liability for the
  18. * use of the software, conveys no license or title under any patent,
  19. * copyright, or mask work right to the product. NXP Semiconductors
  20. * reserves the right to make changes in the software without
  21. * notification. NXP Semiconductors also make no representation or
  22. * warranty that such application will be suitable for the specified
  23. * use without further testing or modification.
  24. * Permission to use, copy, modify, and distribute this software and its
  25. * documentation is hereby granted, under NXP Semiconductors'
  26. * relevant copyright in the software, without fee, provided that it
  27. * is used in conjunction with NXP Semiconductors microcontrollers. This
  28. * copyright, permission, and disclaimer notice must appear in all copies of
  29. * this code.
  30. **********************************************************************/
  31. #ifndef _LPC_LIBCFG_DEFAULT_H_
  32. #define _LPC_LIBCFG_DEFAULT_H_
  33. #include "lpc_types.h"
  34. /************************** DEBUG MODE DEFINITIONS *********************************/
  35. /* Un-comment the line below to compile the library in DEBUG mode, this will expanse
  36. the "CHECK_PARAM" macro in the FW library code */
  37. #ifndef __CODE_RED
  38. #define DEBUG
  39. #endif
  40. /******************* PERIPHERAL FW LIBRARY CONFIGURATION DEFINITIONS ***********************/
  41. /* Comment the line below to disable the specific peripheral inclusion */
  42. /* DEBUG_FRAMWORK -------------------- */
  43. #define _DBGFWK
  44. /* Clock & Power -------------------- */
  45. #define _CLKPWR
  46. /* CRC -------------------- */
  47. #define _CRC
  48. /* GPIO ------------------------------- */
  49. #define _GPIO
  50. /* NVIC ------------------------------- */
  51. #define _NVIC
  52. /* PINSEL ------------------------------- */
  53. #define _PINSEL
  54. /* EXTI ------------------------------- */
  55. #define _EXTI
  56. /* EMC ------------------------------- */
  57. #define _EMC
  58. /* UART ------------------------------- */
  59. #define _UART
  60. /* SPI ------------------------------- */
  61. #define _SPI
  62. /* SYSTICK --------------------------- */
  63. #define _SYSTICK
  64. /* SSP ------------------------------- */
  65. #define _SSP
  66. /* I2C ------------------------------- */
  67. #define _I2C
  68. /* TIMER ------------------------------- */
  69. #define _TIM
  70. /* WDT ------------------------------- */
  71. #define _WDT
  72. /* GPDMA ------------------------------- */
  73. #define _GPDMA
  74. /* DAC ------------------------------- */
  75. #define _DAC
  76. /* ADC ------------------------------- */
  77. #define _ADC
  78. /* EEPROM ------------------------------- */
  79. #define _EEPROM
  80. /* PWM ------------------------------- */
  81. #define _PWM
  82. /* RTC ------------------------------- */
  83. #define _RTC
  84. /* I2S ------------------------------- */
  85. #define _I2S
  86. /* USB device ------------------------------- */
  87. #define _USBDEV
  88. #ifdef _USBDEV
  89. #define _USB_DEV_AUDIO
  90. #define _USB_DEV_MASS_STORAGE
  91. #define _USB_DEV_HID
  92. #define _USB_DEV_VIRTUAL_COM
  93. #endif /*_USBDEV*/
  94. /* USB Host ------------------------------- */
  95. #define _USBHost
  96. /* QEI ------------------------------- */
  97. #define _QEI
  98. /* MCPWM ------------------------------- */
  99. #define _MCPWM
  100. /* CAN--------------------------------*/
  101. #define _CAN
  102. /* EMAC ------------------------------ */
  103. #define _EMAC
  104. /* LCD ------------------------------ */
  105. #define _LCD
  106. /* MCI ------------------------------ */
  107. #define _MCI
  108. /* IAP------------------------------ */
  109. #define _IAP
  110. /* BOD------------------------------ */
  111. #define _BOD
  112. /************************** GLOBAL/PUBLIC MACRO DEFINITIONS *********************************/
  113. #endif /* _LPC_LIBCFG_DEFAULT_H_ */