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/device/Include/pan_lp.h |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/01_SDK/modules/hal/panchip/panplat/pan1070/bsp/device/Include/pan_lp.h b/01_SDK/modules/hal/panchip/panplat/pan1070/bsp/device/Include/pan_lp.h
index ecc4cc1..12a0fab 100644
--- a/01_SDK/modules/hal/panchip/panplat/pan1070/bsp/device/Include/pan_lp.h
+++ b/01_SDK/modules/hal/panchip/panplat/pan1070/bsp/device/Include/pan_lp.h
@@ -153,6 +153,21 @@
 void LP_SetSleepMode(ANA_T *ana,uint8_t mode);
 
 /**
+ * @brief  This function reads single register value from phy module.
+ * @param[in]  reg_addr: phy register address
+ * @return   register value
+ */
+uint32_t PHY_SingleRegRead(uint32_t reg_addr);
+
+/**
+ * @brief  This function writes single register value to phy module.
+ * @param[in]  reg_addr: phy register address
+ * @param[in]  reg_addr: register value to write
+ * @return   None
+ */
+void PHY_SingleRegWrite(uint32_t reg_addr, uint32_t reg_val);
+
+/**
 * @brief  This function set sleep mode config
 * @param[in]  ana: Select analog module
 * @param[in]  enterCyclically: Enable ARM Sleep-On-Exit Feature or not

--
Gitblit v1.9.3