We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5870df0 commit 60e7bb4Copy full SHA for 60e7bb4
src/STM32RTC.cpp
@@ -1307,6 +1307,9 @@ void STM32RTC::configForLowPower(Source_Clock source)
1307
#ifdef __HAL_RCC_RTCAPB_CLKAM_ENABLE
1308
__HAL_RCC_RTCAPB_CLKAM_ENABLE();
1309
#endif
1310
+#if defined(PWR_WAKEUP_RTC)
1311
+ HAL_PWREx_EnableInternalWakeUpLine(PWR_WAKEUP_RTC, PWR_WUP_RISIEDG);
1312
+#endif
1313
#if defined(PWR_WAKEUP_PIN_RTC)
1314
HAL_PWR_EnableWakeUpPin(PWR_WAKEUP_PIN_RTC, PWR_WUP_RISIEDG);
1315
0 commit comments