From ae079c1fc5d990ba55714d4b3a51b19f96edaec4 Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期四, 24 四月 2025 16:01:43 +0800 Subject: [PATCH] 改为中断来低电平触发发送当前扫描数据,3s内扫描不到的会退出,串口来55 AA 75 70 64 61 74 65,进入升级模式 --- 01_SDK/modules/hal/panchip/panplat/pan1070/bsp/peripheral/inc/pan_uart.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/01_SDK/modules/hal/panchip/panplat/pan1070/bsp/peripheral/inc/pan_uart.h b/01_SDK/modules/hal/panchip/panplat/pan1070/bsp/peripheral/inc/pan_uart.h index 802f5e3..42afc14 100644 --- a/01_SDK/modules/hal/panchip/panplat/pan1070/bsp/peripheral/inc/pan_uart.h +++ b/01_SDK/modules/hal/panchip/panplat/pan1070/bsp/peripheral/inc/pan_uart.h @@ -162,7 +162,7 @@ UART_LINE_BREAK_INT = 0x10, // break interrupt UART_LINE_THRE = 0x20, // transmit holding register empty (or tx fifo full) UART_LINE_TXSR_EMPTY = 0x40, // transmitter shift register empty - UART_LINE_RECV_FIFO_EMPTY = 0x80, // receiver FIFO error + UART_LINE_RX_FIFO_ERR = 0x80, // receiver FIFO error UART_LINE_ADDR_RCVD = 0x100 // address received (9-bit mode) } UART_LineStatusDef; /**@} */ -- Gitblit v1.9.3