Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiancetai
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈家乐
jiancetai
Commits
7916c242
Commit
7916c242
authored
Jan 20, 2026
by
何锐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:修改一键启动引脚
parent
0ea7fe8a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
9 deletions
+8
-9
Check_Ctrl.c
YueJin_test_bench/source/Appliciation/Check_Ctrl.c
+0
-6
RTE_GPIO.c
YueJin_test_bench/source/Appliciation/RTE_GPIO.c
+6
-0
RTE_GPIO.h
YueJin_test_bench/source/Appliciation/RTE_GPIO.h
+2
-3
No files found.
YueJin_test_bench/source/Appliciation/Check_Ctrl.c
View file @
7916c242
...
...
@@ -268,8 +268,6 @@ uint8_t yibiaoshuju[34];
// comparestart = 1;
break
;
case
2
:
// POWER_CTRL_KL30 = 0u; //B+
// POWER_CTRL_KL15 = 0u; //KL15
CAN_Msg_Tx_Enable
=
1u
;
if
(
MENU_CHECK_STEP
==
0
)
{
...
...
@@ -299,8 +297,6 @@ uint8_t yibiaoshuju[34];
recvflag111
=
0
;
}
// POWER_CTRL_KL30 = 0u; //B+
// POWER_CTRL_KL15 = 0u; //KL15
// CAN_Msg_Tx_Enable = 1u;
// Diag_Info_Init( );
// Display_Init( );
...
...
@@ -326,8 +322,6 @@ uint8_t yibiaoshuju[34];
default:
// POWER_CTRL_KL30 = 0u;
POWER_CTRL_KL15
=
0u
;
CAN_Msg_Tx_Enable
=
1u
;
Display_Menu_Type
=
0
;
Diag_Info_Init
(
);
...
...
YueJin_test_bench/source/Appliciation/RTE_GPIO.c
View file @
7916c242
...
...
@@ -114,6 +114,12 @@ void RTE_GPIO_Init(void)
gpio_temp
.
enGPIOAltFun
=
GPIO_ALTER_FUN_2
;
GPIO_Config
(
&
gpio_temp
);
gpio_temp
.
enGPIOPort
=
GPIO_PORT_GROUP_10
;
gpio_temp
.
enGPIOPIN
=
GPIO_PIN_12
;
gpio_temp
.
enGPIOMode
=
GPIO_MODE_PORT
;
gpio_temp
.
enGPIODir
=
GPIO_DIR_OUT
;
gpio_temp
.
enGPIOAltFun
=
GPIO_ALTER_FUN_1
;
GPIO_Config
(
&
gpio_temp
);
gpio_temp
.
enGPIOPort
=
GPIO_PORT_GROUP_10
;
gpio_temp
.
enGPIOPIN
=
GPIO_PIN_2
;
gpio_temp
.
enGPIOMode
=
GPIO_MODE_PORT
;
gpio_temp
.
enGPIODir
=
GPIO_DIR_OUT
;
...
...
YueJin_test_bench/source/Appliciation/RTE_GPIO.h
View file @
7916c242
...
...
@@ -5,8 +5,8 @@
#include "TYW_stdint.h"
#include "GPIO.h"
#define ONE_KEY GPIO_OUT_PORT
00_PIN08
//一键启动
#define ONE_KEY_IN GPIO_
OUT_PORT00_PIN07
//一键启动
#define ONE_KEY GPIO_OUT_PORT
10_PIN12
//一键启动
#define ONE_KEY_IN GPIO_
IN_PORT10_PIN11
//一键启动
#define LINE_OUT_NEG_09 GPIO_OUT_PORT10_PIN04 //485_RE
#define ABC_OUT GPIO_OUT_PORT00_PIN04 //ABC轮动报警输出
...
...
@@ -44,7 +44,6 @@
#define FanHui GPIO_OUT_PORT00_PIN13 //负控按键1
/* ---------------------旧的-------------------------- */
#define POWER_CTRL_KL15 GPIO_OUT_PORT10_PIN12
#define SW10 GPIO_IN_PORT10_PIN02
#define LINE_OUT_NEG_01 GPIO_OUT_PORT09_PIN06 //12V
#define LINE_OUT_NEG_02 GPIO_OUT_PORT09_PIN05 //BAT
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment