STmicro HAL driver DMA.

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers part_of_main.c Source File

part_of_main.c

00001 /*=================================
00002  * 以下は MXcubeの main.cから
00003  =================================*/
00004 #include "main.h"
00005 /**
00006   * @brief  This function is executed in case of error occurrence.
00007   * @retval None
00008   */
00009 void Error_Handler(void)
00010 {
00011   /* USER CODE BEGIN Error_Handler_Debug */
00012   /* User can add his own implementation to report the HAL error return state */
00013 
00014   /* USER CODE END Error_Handler_Debug */
00015 }
00016 
00017 /**
00018   * @brief  Reports the name of the source file and the source line number
00019   *         where the assert_param error has occurred.
00020   * @param  file: pointer to the source file name
00021   * @param  line: assert_param error line source number
00022   * @retval None
00023   */
00024 void assert_failed(char *file, uint32_t line)
00025 {
00026   /* USER CODE BEGIN 6 */
00027   /* User can add his own implementation to report the file name and line number,
00028      tex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */
00029   /* USER CODE END 6 */
00030 }