lpc177x_8x_libcfg_default.h 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. /**********************************************************************
  2. * $Id$ lpc17xx_libcfg.h 2010-05-21
  3. ***
  4. * @file lpc17xx_libcfg.h
  5. * @brief Library configuration file
  6. * @version 2.0
  7. * @date 21. May. 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 _LPC177x_8x_LIBCFG_H_
  32. #define _LPC177x_8x_LIBCFG_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. #define DEBUG
  38. /******************* PERIPHERAL FW LIBRARY CONFIGURATION DEFINITIONS ***********************/
  39. /* Comment the line below to disable the specific peripheral inclusion */
  40. /* DEBUG_FRAMWORK -------------------- */
  41. #define _DBGFWK
  42. /* Clock & Power -------------------- */
  43. #define _CLKPWR
  44. /* CRC -------------------- */
  45. #define _CRC
  46. /* GPIO ------------------------------- */
  47. #define _GPIO
  48. /* NVIC ------------------------------- */
  49. #define _NVIC
  50. /* PINSEL ------------------------------- */
  51. #define _PINSEL
  52. /* EXTI ------------------------------- */
  53. #define _EXTI
  54. /* EMC ------------------------------- */
  55. #define _EMC
  56. /* UART ------------------------------- */
  57. #define _UART
  58. /* SPI ------------------------------- */
  59. #define _SPI
  60. /* SYSTICK --------------------------- */
  61. #define _SYSTICK
  62. /* SSP ------------------------------- */
  63. #define _SSP
  64. /* I2C ------------------------------- */
  65. #define _I2C
  66. /* TIMER ------------------------------- */
  67. #define _TIM
  68. /* WDT ------------------------------- */
  69. #define _WDT
  70. /* GPDMA ------------------------------- */
  71. #define _GPDMA
  72. /* DAC ------------------------------- */
  73. #define _DAC
  74. /* ADC ------------------------------- */
  75. #define _ADC
  76. /* EEPROM ------------------------------- */
  77. #define _EEPROM
  78. /* PWM ------------------------------- */
  79. #define _PWM
  80. /* RTC ------------------------------- */
  81. #define _RTC
  82. /* I2S ------------------------------- */
  83. #define _I2S
  84. /* USB device ------------------------------- */
  85. #define _USBDEV
  86. #ifdef _USBDEV
  87. #define _USB_DEV_AUDIO
  88. #define _USB_DEV_MASS_STORAGE
  89. #define _USB_DEV_HID
  90. #define _USB_DEV_VIRTUAL_COM
  91. #endif /*_USBDEV*/
  92. /* USB Host ------------------------------- */
  93. #define _USBHost
  94. /* QEI ------------------------------- */
  95. #define _QEI
  96. /* MCPWM ------------------------------- */
  97. #define _MCPWM
  98. /* CAN--------------------------------*/
  99. #define _CAN
  100. /* EMAC ------------------------------ */
  101. #define _EMAC
  102. /* LCD ------------------------------ */
  103. #define _LCD
  104. /* MCI ------------------------------ */
  105. #define _MCI
  106. /* IAP------------------------------ */
  107. #define _IAP
  108. /* BOD------------------------------ */
  109. #define _BOD
  110. /************************** GLOBAL/PUBLIC MACRO DEFINITIONS *********************************/
  111. #endif /* _LPC177x_8x_LIBCFG_H_ */