[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 14:57:19 CEST 2021


@aidiaz commented on this pull request.



> +    EXTI_REG_IMR  |= EXTI_IMR_BIT;
+#if !defined(CPU_FAM_STM32L5)
     EXTI_REG_FTSR &= ~(EXTI_FTSR_BIT);
     EXTI_REG_RTSR |= EXTI_RTSR_BIT;
-    EXTI_REG_IMR  |= EXTI_IMR_BIT;
     EXTI_REG_PR   = EXTI_PR_BIT;
+#endif

I assume it does not. Because the `CPU_FAM_STM32L5` RTC interrupt line is not configurable (it's direct), the `FTSR`, `RTSR` and `PR` bits are not available. In `periph/rtt_all.c` it's implemented the same way.

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


More information about the notifications mailing list