xeye_ atsu
/
DMA_LLI_TEST
LINKED LIST TEST on mbed
Embed:
(wiki syntax)
Show/hide line numbers
lpc17xx_libcfg_default.h
Go to the documentation of this file.
00001 /***********************************************************************//** 00002 * @file lpc17xx_libcfg_default.h 00003 * @brief Default Library configuration header file 00004 * @version 2.0 00005 * @date 21. May. 2010 00006 * @author NXP MCU SW Application Team 00007 ************************************************************************** 00008 * Software that is described herein is for illustrative purposes only 00009 * which provides customers with programming information regarding the 00010 * products. This software is supplied "AS IS" without any warranties. 00011 * NXP Semiconductors assumes no responsibility or liability for the 00012 * use of the software, conveys no license or title under any patent, 00013 * copyright, or mask work right to the product. NXP Semiconductors 00014 * reserves the right to make changes in the software without 00015 * notification. NXP Semiconductors also make no representation or 00016 * warranty that such application will be suitable for the specified 00017 * use without further testing or modification. 00018 **************************************************************************/ 00019 00020 /* Library Configuration group ----------------------------------------------------------- */ 00021 /** @defgroup LIBCFG_DEFAULT LIBCFG_DEFAULT 00022 * @ingroup LPC1700CMSIS_FwLib_Drivers 00023 * @{ 00024 */ 00025 00026 #ifndef LPC17XX_LIBCFG_DEFAULT_H_ 00027 #define LPC17XX_LIBCFG_DEFAULT_H_ 00028 00029 /* Includes ------------------------------------------------------------------- */ 00030 #include "lpc_types.h" 00031 00032 00033 /* Public Macros -------------------------------------------------------------- */ 00034 /** @defgroup LIBCFG_DEFAULT_Public_Macros LIBCFG_DEFAULT Public Macros 00035 * @{ 00036 */ 00037 00038 /************************** DEBUG MODE DEFINITIONS *********************************/ 00039 /* Un-comment the line below to compile the library in DEBUG mode, this will expanse 00040 the "CHECK_PARAM" macro in the FW library code */ 00041 00042 #define DEBUG 00043 00044 00045 /******************* PERIPHERAL FW LIBRARY CONFIGURATION DEFINITIONS ***********************/ 00046 /* Comment the line below to disable the specific peripheral inclusion */ 00047 00048 /* DEBUG_FRAMWORK ------------------------------ */ 00049 #define _DBGFWK 00050 00051 /* GPIO ------------------------------- */ 00052 #define _GPIO 00053 00054 /* EXTI ------------------------------- */ 00055 #define _EXTI 00056 00057 /* UART ------------------------------- */ 00058 #define _UART 00059 #define _UART0 00060 #define _UART1 00061 #define _UART2 00062 #define _UART3 00063 00064 /* SPI ------------------------------- */ 00065 #define _SPI 00066 00067 /* SYSTICK --------------------------- */ 00068 #define _SYSTICK 00069 00070 /* SSP ------------------------------- */ 00071 #define _SSP 00072 #define _SSP0 00073 #define _SSP1 00074 00075 00076 /* I2C ------------------------------- */ 00077 #define _I2C 00078 #define _I2C0 00079 #define _I2C1 00080 #define _I2C2 00081 00082 /* TIMER ------------------------------- */ 00083 #define _TIM 00084 00085 /* WDT ------------------------------- */ 00086 #define _WDT 00087 00088 00089 /* GPDMA ------------------------------- */ 00090 #define _GPDMA 00091 00092 00093 /* DAC ------------------------------- */ 00094 #define _DAC 00095 00096 /* DAC ------------------------------- */ 00097 #define _ADC 00098 00099 00100 /* PWM ------------------------------- */ 00101 #define _PWM 00102 #define _PWM1 00103 00104 /* RTC ------------------------------- */ 00105 #define _RTC 00106 00107 /* I2S ------------------------------- */ 00108 #define _I2S 00109 00110 /* USB device ------------------------------- */ 00111 #define _USBDEV 00112 #define _USB_DMA 00113 00114 /* QEI ------------------------------- */ 00115 #define _QEI 00116 00117 /* MCPWM ------------------------------- */ 00118 #define _MCPWM 00119 00120 /* CAN--------------------------------*/ 00121 #define _CAN 00122 00123 /* RIT ------------------------------- */ 00124 #define _RIT 00125 00126 /* EMAC ------------------------------ */ 00127 #define _EMAC 00128 00129 /************************** GLOBAL/PUBLIC MACRO DEFINITIONS *********************************/ 00130 00131 #ifdef DEBUG 00132 /******************************************************************************* 00133 * @brief The CHECK_PARAM macro is used for function's parameters check. 00134 * It is used only if the library is compiled in DEBUG mode. 00135 * @param[in] expr - If expr is false, it calls check_failed() function 00136 * which reports the name of the source file and the source 00137 * line number of the call that failed. 00138 * - If expr is true, it returns no value. 00139 * @return None 00140 *******************************************************************************/ 00141 #define CHECK_PARAM(expr) ((expr) ? (void)0 : check_failed((uint8_t *)__FILE__, __LINE__)) 00142 #else 00143 #define CHECK_PARAM(expr) 00144 #endif /* DEBUG */ 00145 00146 /** 00147 * @} 00148 */ 00149 00150 00151 /* Public Functions ----------------------------------------------------------- */ 00152 /** @defgroup LIBCFG_DEFAULT_Public_Functions LIBCFG_DEFAULT Public Functions 00153 * @{ 00154 */ 00155 00156 #ifdef DEBUG 00157 void check_failed(uint8_t *file, uint32_t line); 00158 #endif 00159 00160 /** 00161 * @} 00162 */ 00163 00164 #endif /* LPC17XX_LIBCFG_DEFAULT_H_ */ 00165 00166 /** 00167 * @} 00168 */ 00169 00170 /* --------------------------------- End Of File ------------------------------ */
Generated on Wed Jul 13 2022 21:13:12 by 1.7.2