stm32L053 串口求助

2025-04-05 07:15:55
推荐回答(1个)
回答1:

串口初始化的时候,清下串口中断标志;

判断中断用这个看看:
if(USART_GetITStatus(USART1, USART_IT_RXNE) != RESET)