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_hal_def.h | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/01_SDK/modules/hal/panchip/panplat/pan1070/bsp/peripheral/inc/pan_hal_def.h b/01_SDK/modules/hal/panchip/panplat/pan1070/bsp/peripheral/inc/pan_hal_def.h index 5e9682d..7863a78 100644 --- a/01_SDK/modules/hal/panchip/panplat/pan1070/bsp/peripheral/inc/pan_hal_def.h +++ b/01_SDK/modules/hal/panchip/panplat/pan1070/bsp/peripheral/inc/pan_hal_def.h @@ -6,12 +6,13 @@ * @brief Panchip series HAL (Hardware Abstraction Layer) common definitions header file. * @note Copyright (C) 2023 Panchip Technology Corp. All rights reserved. *****************************************************************************/ - - #ifndef __PAN_HAL_DEF_H__ #define __PAN_HAL_DEF_H__ +#include <stdbool.h> +#include <stdint.h> #include "PanSeries.h" + typedef void (*DMAC_CallbackFunc)(uint8_t); -- Gitblit v1.9.3