具体是在HAL_UART_Init(&UART3_Handler)这个函数的最后面的这个函数中
/* TEACK and/or REACK to check before moving huart->gState and huart->RxState to Ready */
return (UART_CheckIdleState(huart));
当我再次进入这个函数中时,我发现程序竟然是在UART_CheckIdleState(huart)这个函数中的下面这个程序中卡死了,就是直接运行不下去了。
/* Init tickstart for timeout managment*/
tickstart = HAL_GetTick();