[riot-notifications] [RIOT-OS/RIOT] rtt_rtc: allow to use RTC emulation together with RTT alarms (#15763)

Francisco notifications at github.com
Tue May 18 10:37:19 CEST 2021


> The issues @MrKevinWeiss uncovered are real though, I also see this fail on my `nucleo-l031k6`.

@benpicco I don't quite understand the issues you point out, on what hardware can I reproduce?

>If we use the overflow callback, this frees up the alarm callback for direct use with the RTT API.

>This means that if an RTT provides the alarm callback and the user treads it as a monotonic counter (no calls to rtt_set_counter()), both rtc_rtt and the periph_rtt API can be used together.

>The user also must make sure to either use RTC or RTT alarms as they will overwrite each other.

Can all of this be documented somewhere?

-- 
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/15763#issuecomment-842974308
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210518/49ea484d/attachment.htm>


More information about the notifications mailing list