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
46dab66b
Commit
46dab66b
authored
Apr 16, 2025
by
李冠华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:修改将唤醒引脚的中断在deepsleep前在开启
parent
f7555c4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
PowerManag_user.c
Firmware/Source/Component/PowerManagement/PowerManag_user.c
+6
-5
No files found.
Firmware/Source/Component/PowerManagement/PowerManag_user.c
View file @
46dab66b
...
...
@@ -154,7 +154,7 @@ static void Power_Sleep_Init(void)
// RTE_DEEPSLEEP_GPIO_Interrupt_Enable(CAN_MCU_RXD,Trigger_Falling);
// if(g_powerState == 0U)
// {
RTE_DEEPSLEEP_GPIO_Interrupt_Enable
(
KL15_AD_IN
,
Trigger_Rising
);
//
RTE_DEEPSLEEP_GPIO_Interrupt_Enable(KL15_AD_IN,Trigger_Rising);
// }
// g_u8CanrxSleepstate = 0U;
}
...
...
@@ -312,14 +312,15 @@ static Power_Status_em Power_Stay_Sleep(void)
while
(
1
)
{
RTE_WDT_Clear
();
if
(
RTE_GPIO_Get_Level
(
KL15_AD_IN
))
/* KL15 */
if
(
RTE_GPIO_Get_Level
(
KL15_AD_IN
)
==
0
)
/* KL15 */
{
u8PowerSts
=
EM_IGN_Wakeup
;
break
;
RTE_DEEPSLEEP_GPIO_Interrupt_Enable
(
KL15_AD_IN
,
Trigger_Rising
)
;
RTE_DEEPSLEEP_Enable
()
;
}
else
{
RTE_DEEPSLEEP_Enable
();
u8PowerSts
=
EM_IGN_Wakeup
;
break
;
}
}
...
...
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