Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit60e7bb4

Browse files
committed
fix(wl3): wakeup RTC config
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent5870df0 commit60e7bb4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎src/STM32RTC.cpp‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1307,6 +1307,9 @@ void STM32RTC::configForLowPower(Source_Clock source)
13071307
#ifdef __HAL_RCC_RTCAPB_CLKAM_ENABLE
13081308
__HAL_RCC_RTCAPB_CLKAM_ENABLE();
13091309
#endif
1310+
#if defined(PWR_WAKEUP_RTC)
1311+
HAL_PWREx_EnableInternalWakeUpLine(PWR_WAKEUP_RTC, PWR_WUP_RISIEDG);
1312+
#endif
13101313
#if defined(PWR_WAKEUP_PIN_RTC)
13111314
HAL_PWR_EnableWakeUpPin(PWR_WAKEUP_PIN_RTC, PWR_WUP_RISIEDG);
13121315
#endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp