Page 813 - 완) I MDP 프로젝트 작품 보고서(전체과 1학년)1.6
P. 813
* Return : None
*******************************************************************************/
PUTCHAR_PROTOTYPE
{
/* 보낼 데이터 입력(ch) */
USART_SendData(USART1, (u8) ch);
/* 전송 끝날 때까지 무한반복루프(묶어둠) */
while (USART_GetFlagStatus(USART1, USART_FLAG_TC) == RESET)
{}
return ch;
}
#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)
{
/* 무한반복 */
while (1)
{
}
}
#endif
- 806 -