Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
VC66_7C
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
ISUZU
VC66_7C
Commits
18f8987a
Commit
18f8987a
authored
Apr 15, 2022
by
hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加车速频率外发
parent
508926c2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
1 deletion
+20
-1
BackGroundLight.c
source/Application/APP/BackLight/BackGroundLight.c
+1
-1
Data_VehicleSpeed.c
source/Application/APP/Data_VehicleSpeed/Data_VehicleSpeed.c
+14
-0
Data_VehicleSpeed.h
source/Application/APP/Data_VehicleSpeed/Data_VehicleSpeed.h
+3
-0
tasks.c
source/System/tasks.c
+2
-0
No files found.
source/Application/APP/BackLight/BackGroundLight.c
View file @
18f8987a
...
@@ -425,7 +425,7 @@ void BackLightDeal(BL_USER_PARA BL_FunPara, BL_STATE_PARA BLFunStatePara)
...
@@ -425,7 +425,7 @@ void BackLightDeal(BL_USER_PARA BL_FunPara, BL_STATE_PARA BLFunStatePara)
//SetBacklightDestVal(LED_TEMPBL, BL_FunPara.BL_User_GaugesDuty);
//SetBacklightDestVal(LED_TEMPBL, BL_FunPara.BL_User_GaugesDuty);
//Water_Temp_Led_R_MCU_OUT = 0u;
//Water_Temp_Led_R_MCU_OUT = 0u;
}
}
/*水温背光灯*/
if
((
Coolant_Get_CurSeg
()
>=
11
)
&&
(
K_Line_Set
.
K_Line_LID43
==
0x82u
))
if
((
Coolant_Get_CurSeg
()
>=
11
)
&&
(
K_Line_Set
.
K_Line_LID43
==
0x82u
))
{
{
SetBacklightDestVal
(
LED_TEMPBL
,
0
);
SetBacklightDestVal
(
LED_TEMPBL
,
0
);
...
...
source/Application/APP/Data_VehicleSpeed/Data_VehicleSpeed.c
View file @
18f8987a
...
@@ -348,5 +348,19 @@ void Data_GsLYbL_Speed_Processing(void)
...
@@ -348,5 +348,19 @@ void Data_GsLYbL_Speed_Processing(void)
{
{
AccSubSpeed
.
GslSpeed_Flag
=
0
;
AccSubSpeed
.
GslSpeed_Flag
=
0
;
}
}
}
}
}
//15925
//5096
void
Drive_Info_Speed1_Plus_Conversion
(
void
)
{
uint32_t
Veh_Frequenc
=
0u
;
Veh_Frequenc
=
Cal_Veh_Frequency
();
Veh_Frequenc
*=
10u
;
TimerB_PWM_Channel_Fre_Set
(
TIMERB_2_CH10
,
Veh_Frequenc
,
500u
);
/*车速1 25*/
Veh_Frequenc
=
Veh_Frequenc
*
5096
/
15925
;
TimerB_PWM_Channel_Fre_Set
(
TIMERB_2_CH13
,
Veh_Frequenc
,
500u
);
/*车速2 8*/
}
}
\ No newline at end of file
source/Application/APP/Data_VehicleSpeed/Data_VehicleSpeed.h
View file @
18f8987a
...
@@ -16,6 +16,8 @@ typedef union
...
@@ -16,6 +16,8 @@ typedef union
uint8_t
YblSpeed_Flag
;
uint8_t
YblSpeed_Flag
;
uint8_t
GslYbl_Flag
;
uint8_t
GslYbl_Flag
;
uint8_t
ACCSpeed_Time
;
uint8_t
ACCSpeed_Time
;
uint8_t
reserveS1
;
uint8_t
reserveS2
;
}
_ACCSUBSPEED
;
}
_ACCSUBSPEED
;
extern
_ACCSUBSPEED
AccSubSpeed
;
extern
_ACCSUBSPEED
AccSubSpeed
;
...
@@ -39,5 +41,6 @@ extern uint8_t Speed_Get_Valid(void);
...
@@ -39,5 +41,6 @@ extern uint8_t Speed_Get_Valid(void);
extern
uint8_t
Speed_Get_CurSeg
(
void
);
extern
uint8_t
Speed_Get_CurSeg
(
void
);
extern
void
Data_Acc_Speed_Processing
(
void
);
extern
void
Data_Acc_Speed_Processing
(
void
);
extern
void
Data_GsLYbL_Speed_Processing
(
void
);
extern
void
Data_GsLYbL_Speed_Processing
(
void
);
extern
void
Drive_Info_Speed1_Plus_Conversion
(
void
);
#endif
#endif
source/System/tasks.c
View file @
18f8987a
...
@@ -247,6 +247,8 @@ void Sys_Run_Mode_100ms_Tasks(void)
...
@@ -247,6 +247,8 @@ void Sys_Run_Mode_100ms_Tasks(void)
Common_Set_K_Line_Value
();
Common_Set_K_Line_Value
();
Common_DTC_Server
();
Common_DTC_Server
();
Drive_Info_Speed1_Plus_Conversion
();
//YZHD_Count++;
//YZHD_Count++;
//if (YZHD_Count == 20)
//if (YZHD_Count == 20)
//{
//{
...
...
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