We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fda1f9 commit 3fc8ac9Copy full SHA for 3fc8ac9
src/rtc.rs
@@ -343,6 +343,9 @@ fn RTC() {
343
// Clear any pending RTC interrupt before waking tasks to avoid spurious retriggers
344
interrupt::RTC.unpend();
345
346
+ // Disable the 1Hz timer alarm for deep power down
347
+ r.ctrl().modify(|_r, w| w.alarmdpd_en().clear_bit());
348
+
349
// Clear the alarm interrupt flag by writing 1 to it
350
r.ctrl().modify(|_r, w| w.alarm1hz().set_bit());
351
0 commit comments