C:/nxpdrv/LPC1700CMSIS/Drivers/source/lpc17xx_libcfg_default.c
Go to the documentation of this file.00001 /***********************************************************************/ 00021 /* Library group ----------------------------------------------------------- */ 00026 /* Includes ------------------------------------------------------------------- */ 00027 #include "lpc17xx_libcfg_default.h" 00028 00029 /* Public Functions ----------------------------------------------------------- */ 00034 #ifndef __BUILD_WITH_EXAMPLE__ 00035 00036 #ifdef DEBUG 00037 /******************************************************************************* 00038 * @brief Reports the name of the source file and the source line number 00039 * where the CHECK_PARAM error has occurred. 00040 * @param[in] file Pointer to the source file name 00041 * @param[in] line assert_param error line source number 00042 * @return None 00043 *******************************************************************************/ 00044 void check_failed(uint8_t *file, uint32_t line) 00045 { 00046 /* User can add his own implementation to report the file name and line number, 00047 ex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */ 00048 00049 /* Infinite loop */ 00050 while(1); 00051 } 00052 #endif /* DEBUG */ 00053 00054 #endif /* __BUILD_WITH_EXAMPLE__ */ 00055 00064 /* --------------------------------- End Of File ------------------------------ */
Generated on Mon Feb 8 10:01:37 2010 for LPC1700CMSIS Standard Peripheral Firmware Library by 1.5.9