bug:
UART_FLAG_TC 不能在中断里CLEAR; 因为函数 static int stm32_putc(struct rt_serial_device *serial, char c)里发送完成后 while 循环等这个标志退出,中断服务函数CLEAR后,此处进入死循环
Showing
想要评论请 注册 或 登录
UART_FLAG_TC 不能在中断里CLEAR; 因为函数 static int stm32_putc(struct rt_serial_device *serial, char c)里发送完成后 while 循环等这个标志退出,中断服务函数CLEAR后,此处进入死循环