Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
TianYing_ty100
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
TY
TianYing_ty100
Commits
04a7f274
Commit
04a7f274
authored
Aug 16, 2024
by
陈家乐
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://tyw-server.synology.me:12345/ty/tianying_ty100
into CHENJIALE
parents
218fc39b
4decc8ed
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
127 additions
and
82 deletions
+127
-82
Data_Coolant.c
Firmware/Source/Application/Data_Coolant/Data_Coolant.c
+2
-2
PowerManag_user.c
Firmware/Source/Component/PowerManagement/PowerManag_user.c
+4
-3
cgc.c
...ource/Device/Cmsemicon/BAT32A239/Library/Driver/src/cgc.c
+121
-77
No files found.
Firmware/Source/Application/Data_Coolant/Data_Coolant.c
View file @
04a7f274
...
...
@@ -322,11 +322,11 @@ void Data_Coolant_Temp_Display ( void )
}
else
{
if
(
DataCoolantTemp
.
Value
>=
115
)
if
(
GET_DataCoolantSegValue
()
>=
115
)
{
DataCoolantTemp_Dis
.
u8_Warnflg
=
2
;
}
else
if
(
DataCoolantTemp
.
Value
<=
112
)
else
if
(
GET_DataCoolantSegValue
()
<=
112
)
{
DataCoolantTemp_Dis
.
u8_Warnflg
=
0
;
}
...
...
Firmware/Source/Component/PowerManagement/PowerManag_user.c
View file @
04a7f274
...
...
@@ -50,9 +50,10 @@ static void Power_KL30_Init(void)
eeprom_StoreInfo_Init
();
Can_Init
();
Data_TPMS_KL30_Init
();
CAN_TX_Count_Init
();
CAN_TX_SetEnable
(
&
CAN_CH0_CanMsgTxOp
,
CAN_N_TX_Enable
);
Data_TPMS_KL30_Init
();
DFlash_init
();
Data_Read_DiagPara
();
...
...
@@ -75,7 +76,7 @@ static void Power_KL30_Init(void)
Fuel_KL30_Init
();
Data_Voltage_Init
();
// TimerM_PWM_counter_Output_Init(TIMERM_COUNTER0, 400, 64000000);
TimerM_PWM_counter_Output_Init
(
TIMERM_COUNTER1
,
40
0
,
64000000
);
TimerM_PWM_counter_Output_Init
(
TIMERM_COUNTER1
,
126
0
,
64000000
);
// TimerM_PWM_counter_Output_Init(TIMERM_COUNTER0, 400);
// TimerM_PWM_counter_Output_Init(TIMERM_COUNTER1, 400);
// TimerM_PWM_CH_Output_init(TIMERM_COUNTER0, TIMERM_CHB, ActiveLevel_High);
...
...
@@ -132,7 +133,7 @@ static void Power_Wakeup_Init(void)
Fuel_KL30_Init
();
Data_Voltage_Init
();
// TimerM_PWM_counter_Output_Init(TIMERM_COUNTER0, 400, 64000000);
TimerM_PWM_counter_Output_Init
(
TIMERM_COUNTER1
,
40
0
,
64000000
);
TimerM_PWM_counter_Output_Init
(
TIMERM_COUNTER1
,
126
0
,
64000000
);
// TimerM_PWM_counter_Output_Init(TIMERM_COUNTER0, 400);
// TimerM_PWM_counter_Output_Init(TIMERM_COUNTER1, 400);
// TimerM_PWM_CH_Output_init(TIMERM_COUNTER0, TIMERM_CHB, ActiveLevel_High);
...
...
Firmware/Source/Device/Cmsemicon/BAT32A239/Library/Driver/src/cgc.c
View file @
04a7f274
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