generated from hulk/gd32e23x_template_cmake_vscode
emmm
This commit is contained in:
@@ -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 的接收缓冲区有数据时,触发该中断
|
||||
** 该中断为只读中断,不需要手动清除
|
||||
**
|
||||
**
|
||||
**
|
||||
*/
|
||||
}
|
Reference in New Issue
Block a user