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
3edaee91
Commit
3edaee91
authored
May 19, 2022
by
hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整OFF档静态电流
parent
fe6c93ad
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
24 deletions
+31
-24
PowerManagement_user.c
...ce/Application/APP/PowerManagement/PowerManagement_user.c
+20
-16
None_NM.c
source/Application/CAN_APP_NM/AutoSarNM/None_NM.c
+1
-1
Common_Interface.c
source/Application/RTE/Common_Interface.c
+4
-1
TimerB.c
source/Driver/Timer/TimerB.c
+6
-6
No files found.
source/Application/APP/PowerManagement/PowerManagement_user.c
View file @
3edaee91
...
...
@@ -133,29 +133,33 @@ Power_Status_t Power_KL30_Init ( void )
void
Power_Sleep_Init
(
void
)
{
//TimerB_PWM_Channel_Sleep(TIMERB_2_CH10);
//TimerB_PWM_Channel_Sleep(TIMERB_1_CH10);
VCC12V0_OUT_EN
=
1u
;
/*12V 电源使能*/
VCC05V0_OUT_EN
=
1u
;
/*外设5V 电源使能*/
D1530_EN_MCU_OUT
=
1u
;
/*1530 使能*/
//BL_ACC_EN = 1U; /*8867 使能*/
Fuel_VCC05V_OUT_EN
=
1u
;
/*燃油电源 使能*/
AIR_5V_OUT_EN
=
1u
;
/*气压 5V*/
ACC5V_LED_PWM_MCU
=
1u
;
BUZZER_ACC_OUT_EN
=
1u
;
IS31_Shutdown
();
/*数据*/
Speed_Sleep_Init
();
Tacho_Sleep_Init
();
Coolant_Sleep_Init
();
UART_Sleep_Init
();
/*燃油库睡眠前需要调用 ----20220503----*/
Fuel_User_Sleep_Init
();
/*外设*/
Seg_Display_OFF
();
IS31_Shutdown
();
UART_Sleep_Init
();
Buzzer_Shutdown
();
/*蜂鸣器*/
TimerB_PWM_Channel_Sleep
(
TIMERB_0_CH15
);
TimerB_PWM_Channel_Sleep
(
TIMERB_2_CH1
);
TimerB_PWM_Channel_Sleep
(
TIMERB_2_CH7
);
TimerB_PWM_Channel_Sleep
(
TIMERB_1_CH15
);
VCC12V0_OUT_EN
=
0u
;
/*12V 电源使能*/
VCC05V0_OUT_EN
=
0u
;
/*外设5V 电源使能*/
D1530_EN_MCU_OUT
=
0u
;
/*1530 使能*/
//BL_ACC_EN = 1U; /*8867 使能*/
Fuel_VCC05V_OUT_EN
=
0u
;
/*燃油电源 使能*/
AIR_5V_OUT_EN
=
0u
;
/*气压 5V*/
ACC5V_LED_PWM_MCU
=
0u
;
BUZZER_ACC_OUT_EN
=
0u
;
GPIO_Init
(
GPIO_SLEEP_MODE
);
}
...
...
source/Application/CAN_APP_NM/AutoSarNM/None_NM.c
View file @
3edaee91
...
...
@@ -28,7 +28,7 @@ void None_NM_Service(void)
}
else
{
if
(
NM_Idle_Timer
<=
160000
0
ul
)
/*休眠唤醒*/
if
(
NM_Idle_Timer
<=
160000ul
)
/*休眠唤醒*/
{
NM_Idle_Timer
++
;
}
...
...
source/Application/RTE/Common_Interface.c
View file @
3edaee91
...
...
@@ -84,7 +84,10 @@ static uint32_t LOW_VOLTAGE;
static
uint32_t
TPMS_TEST_OFF_TIME
;
static
uint32_t
Menu_FacDea_Time
;
#pragma ghs section bss=".myNonInitArea"
static
uint32_t
Menu_Off_Time
;
#pragma ghs section bss=default
/*每次唤醒调用*/
void
Common_DataInit
(
void
)
...
...
@@ -129,7 +132,7 @@ void Common_DataInit(void)
TPMS_TEST_OFF_TIME
=
0x00u
;
Menu_FacDea_Time
=
0x00u
;
Menu_Off_Time
=
0x00u
;
//
Menu_Off_Time = 0x00u;
}
/*以下由各个处理模块按需调用*/
...
...
source/Driver/Timer/TimerB.c
View file @
3edaee91
...
...
@@ -533,14 +533,14 @@ static void TimerB_VehFreOut_Init(void)
//TimerB_PWM_Channel_Start(TIMERB_2_CH10 );
//车速2
TimerB_PWM_Channel_Init
(
TIMERB_2_CH13
,
TIMERB_CLOCK_0
,
TIMERB_HIGH
);
TimerB_PWM_Channel_Fre_Set
(
TIMERB_2_CH13
,
1U
,
0u
);
TimerB_PWM_Channel_Start
(
TIMERB_2_CH13
);
//
TimerB_PWM_Channel_Init(TIMERB_2_CH13, TIMERB_CLOCK_0, TIMERB_HIGH);
//
TimerB_PWM_Channel_Fre_Set(TIMERB_2_CH13, 1U, 0u);
//
TimerB_PWM_Channel_Start(TIMERB_2_CH13);
//车速3
TimerB_PWM_Channel_Init
(
TIMERB_2_CH15
,
TIMERB_CLOCK_0
,
TIMERB_HIGH
);
TimerB_PWM_Channel_Fre_Set
(
TIMERB_2_CH15
,
1U
,
0u
);
TimerB_PWM_Channel_Start
(
TIMERB_2_CH15
);
//
TimerB_PWM_Channel_Init(TIMERB_2_CH15, TIMERB_CLOCK_0, TIMERB_HIGH);
//
TimerB_PWM_Channel_Fre_Set(TIMERB_2_CH15, 1U, 0u);
//
TimerB_PWM_Channel_Start(TIMERB_2_CH15);
}
/*转速频率输出PWM初始化*/
static
void
TimerB_EngFreOut_Init
(
void
)
...
...
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