From 6c7e61a54ef9b96f79704f0b965664e89f57dd52 Mon Sep 17 00:00:00 2001
From: jinlicong <493886250@qq.com>
Date: Wed, 29 May 2024 17:41:52 +0800
Subject: [PATCH] 增加休眠,开始上板测试
---
Function/OTHER_FUN/other_fun.c | 22 +++++++++++++++++++++-
1 files changed, 21 insertions(+), 1 deletions(-)
diff --git a/Function/OTHER_FUN/other_fun.c b/Function/OTHER_FUN/other_fun.c
index 418362f..a2d80be 100644
--- a/Function/OTHER_FUN/other_fun.c
+++ b/Function/OTHER_FUN/other_fun.c
@@ -2,6 +2,26 @@
#include "gpio.h"
#include "linked_list.h"
+
+
+
+
+
+
+void led_init(void)
+{
+ CMU_PERCLK_SetableEx(PADCLK, ENABLE); //PADʱ�ӣ�GPIO��ʹ�ܺ���
+
+ OutputIO(GPIOD,GPIO_Pin_8,OUT_PUSHPULL);
+ LED_OFF;
+
+// OutputIO(GPIOC,GPIO_Pin_14,OUT_PUSHPULL);
+// LCD3_OFF ;
+}
+
+
+
+
void UNCAP_GPIO_Clk_Init(void)
{
CMU_PERCLK_SetableEx(PADCLK, ENABLE); //PADʱ�ӣ�GPIO��ʹ�ܺ���
@@ -72,4 +92,4 @@
MagneticInterferenceCheck(); //�Ÿ��ż��
-}
\ No newline at end of file
+}
--
Gitblit v1.9.3