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
e94bb947
Commit
e94bb947
authored
3 years ago
by
hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整电池显示时间
parent
89790734
Changes
13
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
11287 additions
and
11283 deletions
+11287
-11283
project
ghs/project
+0
-0
project.hex
ghs/project.hex
+10732
-10732
project.siz
ghs/project.siz
+2
-2
Data_Voltmeter.c
source/Application/APP/Data_Voltmeter/Data_Voltmeter.c
+1
-0
Gauges.c
source/Application/APP/GaugesMode/Gauges.c
+14
-8
Gauges.h
source/Application/APP/GaugesMode/Gauges.h
+1
-0
GaugesInterface.c
source/Application/APP/GaugesMode/GaugesInterface.c
+1
-1
GUI.c
source/Application/Graphic/GUI/GUI.c
+9
-9
images.c
source/Driver/Graphic/images.c
+508
-510
images.h
source/Driver/Graphic/images.h
+17
-19
Analog_Signals_RH850_庆铃重卡.xlsm
utility/AD/cfg/Analog_Signals_RH850_庆铃重卡.xlsm
+0
-0
Analog_Signals.h
utility/AD/inc/Analog_Signals.h
+1
-1
Analog_Signals.c
utility/AD/src/Analog_Signals.c
+1
-1
No files found.
ghs/project
View file @
e94bb947
No preview for this file type
This diff is collapsed.
Click to expand it.
ghs/project.hex
View file @
e94bb947
This diff is collapsed.
Click to expand it.
ghs/project.siz
View file @
e94bb947
project .intvect 1536
project .text 316
668
project .rodata 411
127
project .text 316
700
project .rodata 411
095
project .secinfo 120
project .syscall 6
project .romdata 9029
...
...
This diff is collapsed.
Click to expand it.
source/Application/APP/Data_Voltmeter/Data_Voltmeter.c
View file @
e94bb947
...
...
@@ -113,6 +113,7 @@ static void Data_Voltmeter_2_Gui(void)
static
uint8_t
u8GuiMode
=
0
;
VoltmeterVariable
.
AvrVoltage
=
Get_VoltFilter
();
VoltmeterVariable
.
AvrVoltage
+=
800u
;
/*增加二极管压降补偿*/
if
((
VoltmeterVariable
.
AvrVoltage
>=
17000
)
&&
(
VoltmeterVariable
.
AvrVoltage
<=
30500
))
{
...
...
This diff is collapsed.
Click to expand it.
source/Application/APP/GaugesMode/Gauges.c
View file @
e94bb947
...
...
@@ -32,9 +32,9 @@ uint8_t ModeGaugesTestFlag[GAUGES_TOTAL_NUM] = {0u};
/*两套参数第一个是正常走行速度,第二个为快速走动8*/
const
uint16_t
GaugesDisDelayMax
[
2u
][
IndicatTypeTOtal
]
=
{
/*StepperMotor
MotorGasType MotorTempType LCDGasType LEDOtherType GasType TempType
不同类型表头走行速度不同*/
{
0u
,
20u
,
20u
,
0u
,
2u
,
20u
,
4
0u
},
{
0u
,
0u
,
0u
,
2u
,
2u
,
2u
,
4
0u
},
/*StepperMotor
MotorGasType MotorTempType LCDGasType LEDOtherType LEDGasType LEDTempType LEDBattery
不同类型表头走行速度不同*/
{
0u
,
20u
,
20u
,
0u
,
2u
,
20u
,
40u
,
20
0u
},
{
0u
,
0u
,
0u
,
2u
,
2u
,
2u
,
40u
,
2
0u
},
};
/**@brief Query Sector function
...
...
@@ -402,7 +402,7 @@ void GaugeMoveing(uint8_t GaugesNum)
{
tmp
=
(
GaugesInitTimes
<
(
GaugesStarMoveTimeMax
[
GaugesNum
]
+
Gauages_Init_Time_Max
[
ModeGaugesTestFlag
[
GaugesNum
]]));
GetGaugesDisplayMode
(
GaugesNum
);
if
((
GaugesModuleType
[
GaugesNum
]
==
FreeMoveType
)
||
(
GaugesModuleType
[
GaugesNum
]
==
LEDTempType
))
if
((
GaugesModuleType
[
GaugesNum
]
==
FreeMoveType
)
||
(
GaugesModuleType
[
GaugesNum
]
==
LEDTempType
)
||
(
GaugesModuleType
[
GaugesNum
]
==
LEDBattery
)
)
{
if
(
ModeGaugesTestFlag
[
GaugesNum
]
&&
tmp
)
{
...
...
@@ -424,7 +424,7 @@ void GaugeMoveing(uint8_t GaugesNum)
else
{
/*水温表上升最后一格需要调整时间*/
if
((
GaugesNum
==
2
)
&&
(
DirecSign
[
2
]
==
1u
)
&&
(
GaugesCurrentPos
[
2
]
==
(
DestPostion
[
2
]
-
10u
)))
if
((
GaugesNum
==
TempGauges
)
&&
(
DirecSign
[
TempGauges
]
==
1u
)
&&
(
GaugesCurrentPos
[
TempGauges
]
==
(
DestPostion
[
TempGauges
]
-
10u
)))
{
GaugesMoveTimesTmp
=
2000u
;
}
...
...
@@ -434,9 +434,15 @@ void GaugeMoveing(uint8_t GaugesNum)
}
}
}
MoveTypePara
=
10u
;
/*电压放大倍数不同,单独处理*/
if
(
GaugesNum
==
VoltGauges
)
{
MoveTypePara
=
100u
;
}
else
{
MoveTypePara
=
10u
;
}
}
else
{
...
...
This diff is collapsed.
Click to expand it.
source/Application/APP/GaugesMode/Gauges.h
View file @
e94bb947
...
...
@@ -31,6 +31,7 @@ typedef enum
LEDOtherType
,
LEDGasType
,
LEDTempType
,
LEDBattery
,
IndicatTypeTOtal
,
FreeMoveType
,
...
...
This diff is collapsed.
Click to expand it.
source/Application/APP/GaugesMode/GaugesInterface.c
View file @
e94bb947
...
...
@@ -49,7 +49,7 @@ static const uint16_t GaugesDataInInit[GaugesTotal][3][25] =
};
/*指示类型*/
/*表头1 表头2 表头3 表头4*/
/*表头5*/
/*表头6*/
/*表头7*/
static
const
uint8_t
GaugesIndicatType
[
GaugesTotal
]
=
{
LEDOtherType
,
LEDOtherType
,
LEDTempType
,
LEDGasType
,
LEDGasType
,
LEDGasType
,
LED
OtherType
};
/*初始化表头显示类型,例如水温,气压*/
static
const
uint8_t
GaugesIndicatType
[
GaugesTotal
]
=
{
LEDOtherType
,
LEDOtherType
,
LEDTempType
,
LEDGasType
,
LEDGasType
,
LEDGasType
,
LED
Battery
};
/*初始化表头显示类型,例如水温,气压*/
/*每个表头包含的参数个数*/
/*表头1 表头2 表头3 表头4*/
static
const
uint8_t
GaugesParaNum
[
GaugesTotal
]
=
{
8
,
6
,
13
,
19
,
19
,
19
,
14
};
...
...
This diff is collapsed.
Click to expand it.
source/Application/Graphic/GUI/GUI.c
View file @
e94bb947
...
...
@@ -919,11 +919,11 @@ void Gui_ADAS_Display(uint8_t Mode)
if
(
FLASH_SYNC_1Hz
)
{
/*车*/
GUI_General_Display
(
ADAS_Sprite
,
CN_che_
shanshuo
,
GUI_BLENDMODE_SRC_OVER
);
GUI_General_Display
(
ADAS_Sprite
,
CN_che_
yinying_1
,
GUI_BLENDMODE_SRC_OVER
);
/*道*/
GUI_General_Display
(
ADAS_Sprite
,
CN_Road1_
shanshuo
,
GUI_BLENDMODE_SRC_OVER
);
GUI_General_Display
(
ADAS_Sprite
,
CN_Road2_
shanshuo
,
GUI_BLENDMODE_SRC_OVER
);
GUI_General_Display
(
ADAS_Sprite
,
CN_Road3_
shanshuo
,
GUI_BLENDMODE_SRC_OVER
);
GUI_General_Display
(
ADAS_Sprite
,
CN_Road1_
yinying_1
,
GUI_BLENDMODE_SRC_OVER
);
GUI_General_Display
(
ADAS_Sprite
,
CN_Road2_
yinying_1
,
GUI_BLENDMODE_SRC_OVER
);
GUI_General_Display
(
ADAS_Sprite
,
CN_Road3_
yinying_1
,
GUI_BLENDMODE_SRC_OVER
);
}
else
{
...
...
@@ -935,7 +935,7 @@ void Gui_ADAS_Display(uint8_t Mode)
((
Sys_Sta_A0
==
3u
)
&&
((
AEBS_Sta_A0
==
0u
)
||
(
AEBS_Sta_A0
==
2u
))))
{
/*车*/
GUI_General_Display
(
ADAS_Sprite
,
CN_che_
shanshuo
,
GUI_BLENDMODE_SRC_OVER
);
GUI_General_Display
(
ADAS_Sprite
,
CN_che_
yinying_1
,
GUI_BLENDMODE_SRC_OVER
);
/*道*/
ADAS_Value
=
3u
;
...
...
@@ -1002,7 +1002,7 @@ void Gui_ADAS_Display(uint8_t Mode)
/*左车道线*/
if
(
FLASH_SYNC_1Hz
==
1u
)
{
GUI_General_Display
(
ADAS_Sprite
,
CN_LeftRoad_
shanshuo
,
GUI_BLENDMODE_CUSTOM
);
/*虚*/
GUI_General_Display
(
ADAS_Sprite
,
CN_LeftRoad_
yinying_1
,
GUI_BLENDMODE_CUSTOM
);
/*虚*/
}
else
{
...
...
@@ -1012,7 +1012,7 @@ void Gui_ADAS_Display(uint8_t Mode)
/*右车道线*/
if
(
FLASH_SYNC_1Hz
==
1u
)
{
GUI_General_Display
(
ADAS_Sprite
,
CN_RightRoad_
shanshuo
,
GUI_BLENDMODE_CUSTOM
);
/*虚*/
GUI_General_Display
(
ADAS_Sprite
,
CN_RightRoad_
yiying_1
,
GUI_BLENDMODE_CUSTOM
);
/*虚*/
}
else
{
...
...
@@ -1024,7 +1024,7 @@ void Gui_ADAS_Display(uint8_t Mode)
/*左车道线*/
if
((
LDW_Sys_Sta
==
3u
)
&&
(
LLDW_Sta
==
0u
))
{
GUI_General_Display
(
ADAS_Sprite
,
CN_LeftRoad_
shanshuo
,
GUI_BLENDMODE_CUSTOM
);
/*虚*/
GUI_General_Display
(
ADAS_Sprite
,
CN_LeftRoad_
yinying_1
,
GUI_BLENDMODE_CUSTOM
);
/*虚*/
}
else
if
((
LDW_Sys_Sta
==
3u
)
&&
(
LLDW_Sta
==
1u
))
{
...
...
@@ -1051,7 +1051,7 @@ void Gui_ADAS_Display(uint8_t Mode)
/*右车道线*/
if
((
LDW_Sys_Sta
==
3u
)
&&
(
RLDW_Sta
==
0u
))
{
GUI_General_Display
(
ADAS_Sprite
,
CN_RightRoad_
shanshuo
,
GUI_BLENDMODE_CUSTOM
);
/*虚*/
GUI_General_Display
(
ADAS_Sprite
,
CN_RightRoad_
yiying_1
,
GUI_BLENDMODE_CUSTOM
);
/*虚*/
}
else
if
((
LDW_Sys_Sta
==
3u
)
&&
(
RLDW_Sta
==
1u
))
{
...
...
This diff is collapsed.
Click to expand it.
source/Driver/Graphic/images.c
View file @
e94bb947
This diff is collapsed.
Click to expand it.
source/Driver/Graphic/images.h
View file @
e94bb947
...
...
@@ -468,36 +468,34 @@ enum SpriteName
CN_dingsuxunhang_STANDBY
,
CN_ADAS_wenzi
,
CN_che
,
CN_che_
shanshuo
,
CN_che_yinying
,
CN_che_
yinying_1
,
CN_che_yinying
_2
,
CN_jiao1
,
CN_jiao2
,
CN_jiao3
,
CN_jiao4
,
CN_LeftRoad
,
CN_LeftRoad_1
,
CN_LeftRoad_shanshuo
,
CN_LeftRoad_shanshuo_1
,
CN_LeftRoad_shanshuo_2
,
CN_LeftRoad_yinying
,
CN_LeftRoad_yinying_1
,
CN_LeftRoad_yinying_2
,
CN_LeftRoad_yinying_3
,
CN_RightRoad
,
CN_RightRoad_1
,
CN_RightRoad_shanshuo
,
CN_RightRoad_shanshuo_1
,
CN_RightRoad_shanshuo_2
,
CN_RightRoad_yiying
,
CN_RightRoad_yiying_1
,
CN_RightRoad_yiying_2
,
CN_RightRoad_yiying_3
,
CN_Road1
,
CN_Road1_
shanshuo
,
CN_Road1_
shanshuo_1
,
CN_Road1_yinying
,
CN_Road1_
yinying_1
,
CN_Road1_
yinying_2
,
CN_Road1_yinying
_3
,
CN_Road2
,
CN_Road2_
shanshuo
,
CN_Road2_
shanshuo_1
,
CN_Road2_yinying
,
CN_Road2_
yinying_1
,
CN_Road2_
yinying_2
,
CN_Road2_yinying
_3
,
CN_Road3
,
CN_Road3_
shanshuo
,
CN_Road3_
shanshuo_1
,
CN_Road3_yinying
,
CN_Road3_
yinying_1
,
CN_Road3_
yinying_2
,
CN_Road3_yinying
_3
,
CN_tanhao1
,
CN_tanhao2
,
CN_fengexian
,
...
...
This diff is collapsed.
Click to expand it.
utility/AD/cfg/Analog_Signals_RH850_庆铃重卡.xlsm
View file @
e94bb947
No preview for this file type
This diff is collapsed.
Click to expand it.
utility/AD/inc/Analog_Signals.h
View file @
e94bb947
...
...
@@ -4,7 +4,7 @@
* \attention
*
* This file is automatically generated by analog signals configuration tool.
* Date : 2021/1
0/26 10:37:5
3
* Date : 2021/1
1/23 11:42:2
3
* Cfg Tool Ver : 1.1.0
* Engineer : wangboyu
* (c) Heilongjiang TYW electronics co., LTD
...
...
This diff is collapsed.
Click to expand it.
utility/AD/src/Analog_Signals.c
View file @
e94bb947
...
...
@@ -4,7 +4,7 @@
* \attention
*
* This file is automatically generated by analog signals configuration tool.
* Date : 2021/1
0/26 10:37:5
3
* Date : 2021/1
1/23 11:42:2
3
* Cfg Tool Ver : 1.1.0
* Engineer : wangboyu
* (c) Heilongjiang TYW electronics co., LTD
...
...
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