Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZhongTong-ZR5-A
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
赵康弘
ZhongTong-ZR5-A
Commits
caf56476
Commit
caf56476
authored
Oct 07, 2025
by
赵康弘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 补充控制逻辑
parent
fe66e2eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
64 additions
and
0 deletions
+64
-0
FrontDomain_Control.c
GHS/App/FrontDomain_Control.c
+64
-0
No files found.
GHS/App/FrontDomain_Control.c
View file @
caf56476
...
...
@@ -417,11 +417,75 @@ void FrontDomain_Control_Service(void)
TPS2HB35_SetOutput5A_OUT9
(
0
);
}
/*4.2.52、 倒车蜂鸣器(OUT76)*/
if
((
Get_ID_18FF4AEF_Sig_Power_On_High_Voltage_Indicator
()
==
1
)
&&
(
SGMCD1020Q_2
.
bits
.
sp0
==
1
)
&&
(
Get_ID_18FF4AEF_Sig_Reverse_Gear_Signal
()
==
0xD
))
{
TPS2HB35_SetOutput3A_OUT19
(
1
);
}
else
{
TPS2HB35_SetOutput3A_OUT19
(
0
);
}
/*4.2.53、 左后示廓灯(OUT77)*/
if
((
Get_ID_18FFA017_Sig_Main_Power_Switch
()
==
1
)
&&
((
SGMCD1020Q_2
.
bits
.
sg5
==
1
)
||
((
SGMCD1020Q_1
.
bits
.
sg5
==
1
)
&&
(
Get_ID_18FFFE9C_Sig_Small_Lamp_Control_Output
()
==
1
))))
{
TPS2HB35_SetOutput3A_OUT20
(
1
);
}
else
{
TPS2HB35_SetOutput3A_OUT20
(
0
);
}
/*4.2.54、 右后示廓灯(OUT78)*/
if
((
Get_ID_18FFA017_Sig_Main_Power_Switch
()
==
1
)
&&
((
SGMCD1020Q_2
.
bits
.
sg5
==
1
)
||
((
SGMCD1020Q_1
.
bits
.
sg5
==
1
)
&&
(
Get_ID_18FFFE9C_Sig_Small_Lamp_Control_Output
()
==
1
))))
{
TPS2HB35_SetOutput3A_OUT21
(
1
);
}
else
{
TPS2HB35_SetOutput3A_OUT21
(
0
);
}
/*4.2.55、 任意门开输出(OUT79)*/
if
((
Get_ID_18FFA017_Sig_Main_Power_Switch
()
==
1
)
&&
((
SGMCD1020Q_2
.
bits
.
sp0
==
1
)
||
(
SGMCD1020Q_1
.
bits
.
sp1
==
1
)))
{
TPS2HB35_SetOutput3A_OUT22
(
1
);
}
else
{
TPS2HB35_SetOutput3A_OUT22
(
0
);
}
/*4.2.56、 雨雪模式(OUT81)*/
if
((
Get_ID_18FFA017_Sig_Main_Power_Switch
()
==
1
)
&&
(
SGMCD1020Q_1
.
bits
.
sg13
==
1
))
{
TPS2HB35_SetOutput3A_OUT23
(
1
);
}
else
{
TPS2HB35_SetOutput3A_OUT23
(
0
);
}
/*4.2.57、 前门警示灯输出(OUT82)*/
if
((
Get_ID_18FFA017_Sig_Main_Power_Switch
()
==
1
)
&&
(
SGMCD1020Q_1
.
bits
.
sp3
==
1
))
{
TPS2HB35_SetOutput3A_OUT24
(
1
);
}
else
{
TPS2HB35_SetOutput3A_OUT24
(
0
);
}
/*4.2.58、 ASR输出信号(OUT83)*/
if
((
Get_ID_18FFA017_Sig_Main_Power_Switch
()
==
1
)
&&
(
SGMCD1020Q_2
.
bits
.
sg2
==
1
))
{
// TPS2HB35_SetOutput3A_OUT24(1);
}
else
{
// TPS2HB35_SetOutput3A_OUT24(0);
}
/*4.2.59、 Autohold输出信号(OUT84)*/
if
((
Get_ID_18FFA017_Sig_Main_Power_Switch
()
==
1
)
&&
(
SGMCD1020Q_2
.
bits
.
sp3
==
1
))
{
// TPS2HB35_SetOutput3A_OUT24(1);
}
else
{
// TPS2HB35_SetOutput3A_OUT24(0);
}
}
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