[riot-notifications] [RIOT-OS/RIOT] Update cpu/stm32/periph/rtc_all.c for CPU_FAM_STM32L5 support. (#16656)

aidiaz notifications at github.com
Mon Jul 19 15:00:59 CEST 2021


@aidiaz commented on this pull request.



> +    if (RTC_REG_SR & RTC_SR_ALRAF) {
+        if (isr_ctx.cb != NULL) {
+        isr_ctx.cb(isr_ctx.arg);
+        }
+        stmclk_dbp_unlock();
+        RTC_REG_SCR = RTC_SCR_CALRAF;
+        stmclk_dbp_lock();
+    }
+#endif

Found it surfing through `STM32` forum where a similar problem was adviced. https://community.st.com/s/question/0D50X00009XkgO1/stm32l4-hal-rtc-clear-alarm-flags

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16656#discussion_r672275373
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210719/60ec4526/attachment-0001.htm>


More information about the notifications mailing list