This commit is contained in:
2025-08-11 20:59:22 +08:00
parent 4a488429bf
commit 1c3c688cc2
4 changed files with 8 additions and 39 deletions

View File

@@ -103,4 +103,12 @@ void USART0_IRQHandler(void) {
uint8_t data = usart_data_receive(USART0);
uart_rx_put(data);
}
/* 处理 USART0 中断
** USART_INT_FLAG_RBNE 读缓冲区非空中断标志
** 即:当 USART0 的接收缓冲区有数据时,触发该中断
** 该中断为只读中断,不需要手动清除
**
**
**
*/
}