Page 361 - MDP2020-1
P. 361

················································································  명장양성프로젝트  【MDP】  과제발표회  자료집  Ⅰ    |  355


                */
            void  Error_Handler(void)
            {
                /*  USER  CODE  BEGIN  Error_Handler_Debug  */

                /*  User  can  add  his  own  implementation  to  report  the  HAL  error  return  state  */


                /*  USER  CODE  END  Error_Handler_Debug  */
            }



            #ifdef    USE_FULL_ASSERT
            /**
                *  @brief    Reports  the  name  of  the  source  file  and  the  source  line  number
                *                  where  the  assert_param  error  has  occurred.
                *  @param    file:  pointer  to  the  source  file  name

                *  @param    line:  assert_param  error  line  source  number
                *  @retval  None
                */
            void  assert_failed(uint8_t  *file,  uint32_t  line)

            {
                /*  USER  CODE  BEGIN  6  */
                /*  User  can  add  his  own  implementation  to  report  the  file  name  and  line  number,
                      tex:  printf("Wrong  parameters  value:  file  %s  on  line  %d\r\n",  file,  line)  */
                /*  USER  CODE  END  6  */
            }

            #endif  /*  USE_FULL_ASSERT  */


            /************************  (C)  COPYRIGHT  STMicroelectronics  *****END  OF  FILE****/
   356   357   358   359   360   361   362   363   364   365   366