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
ce596ba3
Commit
ce596ba3
authored
May 21, 2025
by
梁百峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:打点流程
parent
92c49461
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
605 additions
and
281 deletions
+605
-281
CAN_Communication_Matrix.c
...test_bench/source/Appliciation/CAN_Communication_Matrix.c
+35
-0
CAN_Communication_Matrix.h
...test_bench/source/Appliciation/CAN_Communication_Matrix.h
+8
-1
Check_Ctrl.c
YueJin_test_bench/source/Appliciation/Check_Ctrl.c
+2
-1
Display_Info.c
YueJin_test_bench/source/Appliciation/Display_Info.c
+22
-2
RTE_GPIO.h
YueJin_test_bench/source/Appliciation/RTE_GPIO.h
+1
-1
Task.c
YueJin_test_bench/source/Appliciation/Task.c
+537
-276
No files found.
YueJin_test_bench/source/Appliciation/CAN_Communication_Matrix.c
View file @
ce596ba3
...
...
@@ -272,6 +272,41 @@ uint8_t Get_CAN_CH0_ID_18FEFC17_Sig_Fuel_level(void)
return
(((
uint8_t
)((
uint8_t
)
CAN_MSG_Read
(
CAN_CH0_ID_Send18FEFC17_Msg_Count
,
0u
)
>>
0u
)
&
0xFFu
));
}
uint8_t
Get_CAN_CH0_ID_794_byte0_Sig
(
void
)
{
return
(((
uint8_t
)((
uint8_t
)
CAN_MSG_Read
(
CAN_CH0_ID_UDS_REC_Msg_Count
,
0u
)
>>
0u
)
&
0xFFu
));
}
uint8_t
Get_CAN_CH0_ID_794_byte1_Sig
(
void
)
{
return
(((
uint8_t
)((
uint8_t
)
CAN_MSG_Read
(
CAN_CH0_ID_UDS_REC_Msg_Count
,
1u
)
>>
0u
)
&
0xFFu
));
}
uint8_t
Get_CAN_CH0_ID_794_byte2_Sig
(
void
)
{
return
(((
uint8_t
)((
uint8_t
)
CAN_MSG_Read
(
CAN_CH0_ID_UDS_REC_Msg_Count
,
2u
)
>>
0u
)
&
0xFFu
));
}
uint8_t
Get_CAN_CH0_ID_794_byte3_Sig
(
void
)
{
return
(((
uint8_t
)((
uint8_t
)
CAN_MSG_Read
(
CAN_CH0_ID_UDS_REC_Msg_Count
,
3u
)
>>
0u
)
&
0xFFu
));
}
uint8_t
Get_CAN_CH0_ID_794_byte4_Sig
(
void
)
{
return
(((
uint8_t
)((
uint8_t
)
CAN_MSG_Read
(
CAN_CH0_ID_UDS_REC_Msg_Count
,
4u
)
>>
0u
)
&
0xFFu
));
}
uint8_t
Get_CAN_CH0_ID_794_byte5_Sig
(
void
)
{
return
(((
uint8_t
)((
uint8_t
)
CAN_MSG_Read
(
CAN_CH0_ID_UDS_REC_Msg_Count
,
5u
)
>>
0u
)
&
0xFFu
));
}
uint8_t
Get_CAN_CH0_ID_794_byte6_Sig
(
void
)
{
return
(((
uint8_t
)((
uint8_t
)
CAN_MSG_Read
(
CAN_CH0_ID_UDS_REC_Msg_Count
,
6u
)
>>
0u
)
&
0xFFu
));
}
uint8_t
Get_CAN_CH0_ID_794_byte7_Sig
(
void
)
{
return
(((
uint8_t
)((
uint8_t
)
CAN_MSG_Read
(
CAN_CH0_ID_UDS_REC_Msg_Count
,
7u
)
>>
0u
)
&
0xFFu
));
}
...
...
YueJin_test_bench/source/Appliciation/CAN_Communication_Matrix.h
View file @
ce596ba3
...
...
@@ -76,7 +76,14 @@ extern uint32_t Get_CAN_CH0_ID_18FEC1EE_Sig_Total_Vehicle_Distance(void);
extern
uint16_t
Get_CAN_CH0_ID_0CFE6CEE_Sig_Tachograph_vehicle_speed
(
void
);
extern
uint8_t
Get_CAN_CH0_ID_18FEFC17_Sig_Fuel_level
(
void
);
extern
uint8_t
Get_CAN_CH0_ID_794_byte0_Sig
(
void
);
extern
uint8_t
Get_CAN_CH0_ID_794_byte1_Sig
(
void
);
extern
uint8_t
Get_CAN_CH0_ID_794_byte2_Sig
(
void
);
extern
uint8_t
Get_CAN_CH0_ID_794_byte3_Sig
(
void
);
extern
uint8_t
Get_CAN_CH0_ID_794_byte4_Sig
(
void
);
extern
uint8_t
Get_CAN_CH0_ID_794_byte5_Sig
(
void
);
extern
uint8_t
Get_CAN_CH0_ID_794_byte6_Sig
(
void
);
extern
uint8_t
Get_CAN_CH0_ID_794_byte7_Sig
(
void
);
...
...
YueJin_test_bench/source/Appliciation/Check_Ctrl.c
View file @
ce596ba3
...
...
@@ -72,7 +72,8 @@ void MENU_CHECK_STEP_ADD(void)
{
MENU_CHECK_STEP
++
;
if
(
MENU_CHECK_STEP
>
17
)
// if(MENU_CHECK_STEP > 17)
if
(
MENU_CHECK_STEP
>
13
)
{
MENU_CHECK_STEP
=
0
;
}
...
...
YueJin_test_bench/source/Appliciation/Display_Info.c
View file @
ce596ba3
...
...
@@ -3687,7 +3687,12 @@ void Display_Version_Info(uint32_t ON_OFF)
guominbanben
[
0
]
=
CAN_MSG_Read
(
10
,
7u
);
guominhoumian
=
CAN_MSG_Read
(
10
,
6u
);
}
esp32banben
[
0
]
=
CAN_MSG_Read
(
10
,
3u
);
esp32houmian
=
CAN_MSG_Read
(
10
,
2u
);
mbuffruanjian
[
0
]
=
CAN_MSG_Read
(
9
,
5u
);
wifihoumian
=
CAN_MSG_Read
(
9
,
4u
);
guominbanben
[
0
]
=
CAN_MSG_Read
(
10
,
7u
);
guominhoumian
=
CAN_MSG_Read
(
10
,
6u
);
General_Number_Disp
(
esp32banben
,
5
,
50
);
GUI_General_Digit_Display
(
esp32houmian
,
Num_15
,
2
,
0
,
banebenhao1
,
50
);
...
...
@@ -3752,7 +3757,22 @@ void Display_Version_Info(uint32_t ON_OFF)
wuliao
[
14
]
=
CAN_MSG_Read
(
8
,
0u
);
wuliao
[
15
]
=
0xFF
;
}
wuliao
[
0
]
=
CAN_MSG_Read
(
6
,
4u
);
wuliao
[
1
]
=
CAN_MSG_Read
(
6
,
3u
);
wuliao
[
2
]
=
CAN_MSG_Read
(
6
,
2u
);
wuliao
[
3
]
=
CAN_MSG_Read
(
6
,
1u
);
wuliao
[
4
]
=
CAN_MSG_Read
(
6
,
0u
);
wuliao
[
5
]
=
CAN_MSG_Read
(
7
,
4u
);
wuliao
[
6
]
=
CAN_MSG_Read
(
7
,
3u
);
wuliao
[
7
]
=
CAN_MSG_Read
(
7
,
2u
);
wuliao
[
8
]
=
CAN_MSG_Read
(
7
,
1u
);
wuliao
[
9
]
=
CAN_MSG_Read
(
7
,
0u
);
wuliao
[
10
]
=
CAN_MSG_Read
(
8
,
4u
);
wuliao
[
11
]
=
CAN_MSG_Read
(
8
,
3u
);
wuliao
[
12
]
=
CAN_MSG_Read
(
8
,
2u
);
wuliao
[
13
]
=
CAN_MSG_Read
(
8
,
1u
);
wuliao
[
14
]
=
CAN_MSG_Read
(
8
,
0u
);
wuliao
[
15
]
=
0xFF
;
if
(
CAN_MSG_Read
(
7
,
2u
)
==
0x47
||
(
R485_ID4Dh
.
Sig
.
MaterialCode07
==
0x47
))
{
nowbanbenhao
=
1
;
...
...
YueJin_test_bench/source/Appliciation/RTE_GPIO.h
View file @
ce596ba3
...
...
@@ -65,7 +65,7 @@
#define NEG_8_Ctrl GPIO_OUT_PORT10_PIN03
#define NEG_9_Ctrl GPIO_OUT_PORT10_PIN04
#define NEG_10_Ctrl GPIO_OUT_PORT00_PIN08
#define can_std_io GPIO_OUT_PORT00_PIN04
#define queren GPIO_OUT_PORT00_PIN06
#define LINE_SafeBelt_1 NEG_1_Ctrl
#define LINE_SafeBelt_2 NEG_2_Ctrl
...
...
YueJin_test_bench/source/Appliciation/Task.c
View file @
ce596ba3
This diff is collapsed.
Click to expand it.
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