From 3791a5d41695a856f0d97bb1acfd26a62ea2bcd4 Mon Sep 17 00:00:00 2001 From: stark1898y <1658608470@qq.com> Date: Sat, 14 Dec 2024 13:31:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=89=E9=94=AE=E8=83=BD=E8=A7=A6=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .cproject | 1 + .settings/language.settings.xml | 2 +- .settings/org.eclipse.core.resources.prefs | 1 + .vscode/settings.json | 6 +- APP/peripheral_main.c | 28 +- BSP/inc/bsp_iwdg.h | 31 ++ BSP/inc/bsp_key.h | 30 +- BSP/src/bsp_adc.c | 4 + BSP/src/bsp_i2c.c | 12 +- BSP/src/bsp_iwdg.c | 23 ++ BSP/src/bsp_key.c | 262 +++++++++++++- HAL/SLEEP.c | 9 + HAL/include/CONFIG.h | 2 +- StdPeriphDriver/CH59x_adc.c | 4 +- common/FlexibleButton-2.0.1/README.md | 325 ++++++++++++++++++ common/FlexibleButton-2.0.1/flexible_button.c | 317 +++++++++++++++++ common/FlexibleButton-2.0.1/flexible_button.h | 164 +++++++++ 17 files changed, 1185 insertions(+), 36 deletions(-) create mode 100644 BSP/inc/bsp_iwdg.h create mode 100644 BSP/src/bsp_iwdg.c create mode 100644 common/FlexibleButton-2.0.1/README.md create mode 100644 common/FlexibleButton-2.0.1/flexible_button.c create mode 100644 common/FlexibleButton-2.0.1/flexible_button.h diff --git a/.cproject b/.cproject index 71b9ccf..d107895 100644 --- a/.cproject +++ b/.cproject @@ -56,6 +56,7 @@