Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
RT_RMR42E
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
时昊
RT_RMR42E
Commits
f4bcc93a
Commit
f4bcc93a
authored
Jul 10, 2024
by
郑萍
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:高低压保护修改以及休眠之后关闭蜂鸣器和交互指示灯
parent
257abcfb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
BackLight.c
Firmware/Source/Application/BackLight/BackLight.c
+1
-1
PowerManag_user.c
Firmware/Source/Component/PowerManagement/PowerManag_user.c
+2
-0
System_Monitor_User.c
...are/Source/Component/System_Monitor/System_Monitor_User.c
+4
-4
No files found.
Firmware/Source/Application/BackLight/BackLight.c
View file @
f4bcc93a
...
...
@@ -77,7 +77,7 @@ void Interact_Light_Process(void)
}
else
{
TimerM_PWM_set_duty
(
TIMERM_COUNTER0
,
TIMERM_CHD
,
0
);
TimerM_PWM_set_duty
(
TIMERM_COUNTER0
,
TIMERM_CHD
,
100
0
);
}
}
uint8_t
Get_Interact_Light_State
(
void
)
...
...
Firmware/Source/Component/PowerManagement/PowerManag_user.c
View file @
f4bcc93a
...
...
@@ -189,6 +189,8 @@ static Power_Status_em Power_Stay_Protect(void)
{
BU98R10_Shutdown
(
);
TimerM_PWM_set_duty
(
TIMERM_COUNTER1
,
TIMERM_CHB
,
0
);
TimerM_PWM_set_duty
(
TIMERM_COUNTER0
,
TIMERM_CHD
,
1000
);
RTE_GPIO_Set_Level
(
RTE_GPIO_PORT04_PIN01
,
RTE_GPIO_LEVEL_LOW
);
// OUT_EN_1
CAN_TX_SetEnable
(
&
CAN_CH0_CanMsgTxOp
,
CAN_N_TX_Disable
);
}
u8PowerSts
=
EM_IGN_OFF_Init
;
...
...
Firmware/Source/Component/System_Monitor/System_Monitor_User.c
View file @
f4bcc93a
...
...
@@ -11,9 +11,9 @@
#define u16EXIT_LOW_Y_RANGE 10000U
#define u16EXIT_HIGH_Y_RANGE 16000U
#define u16ENTER_HIGH_Y_RANGE 1
7
500U
#define u16EXIT_HIGH_N_RANGE 1
80
00U
#define u16ENTER_HIGH_N_RANGE 18
5
00U
#define u16ENTER_HIGH_Y_RANGE 1
6
500U
#define u16EXIT_HIGH_N_RANGE 1
75
00U
#define u16ENTER_HIGH_N_RANGE 18
0
00U
#define u16Top_Vol 0xffffu
...
...
@@ -36,7 +36,7 @@ static const monitorlib_uint16_t SysFun_Range [ 26u ] = {
u16ENTER_HIGH_N_RANGE
,
u16Top_Vol
,
50
00
,
25
00
,
50u
,
u16Base_Vol
,
...
...
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