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

Francisco notifications at github.com
Mon Jul 19 15:16:16 CEST 2021


@fjmolinas 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

Ahh that makes sense, when looking at the doc:

![image](https://user-images.githubusercontent.com/23060007/126165492-61b2421e-654d-4df1-b6b3-7be8729eb33c.png)

can you add some comment regarding this?

-- 
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_r672287064
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210719/3267eb09/attachment.htm>


More information about the notifications mailing list