[riot-notifications] [RIOT-OS/RIOT] rtt_rtc: add rtc_settimeofday() & rtc_gettimeofday() (#16682)

benpicco notifications at github.com
Tue Jul 27 22:17:54 CEST 2021


I ran `tests/periph_rtc` with 

    USEMODULE += rtt_rtc periph_rtc_ms

on `same54-xpro` and this gives

```
2021-07-27 22:16:21,957 # This test will display 'Alarm!' every 2 seconds for 4 times
2021-07-27 22:16:21,961 #   Setting clock to   2020-02-28 23:59:57
2021-07-27 22:16:21,965 # Clock value is now   2020-02-28 23:59:57.918
2021-07-27 22:16:21,968 #   Setting alarm to   2020-02-28 23:59:59
2021-07-27 22:16:21,972 #    Alarm is set to   2020-02-28 23:59:59
2021-07-27 22:16:21,976 #   Alarm cleared at   2020-02-28 23:59:57.929
2021-07-27 22:16:23,980 #        No alarm at   2020-02-28 23:59:59.933
2021-07-27 22:16:23,984 #   Setting alarm to   2020-02-28 23:59:61
2021-07-27 22:16:23,984 # 
2021-07-27 22:16:25,981 # Alarm!
2021-07-27 22:16:27,981 # Alarm!
2021-07-27 22:16:29,982 # Alarm!
2021-07-27 22:16:31,983 # Alarm!
```

-- 
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/16682#issuecomment-887806216
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210727/bb1ccbf0/attachment.htm>


More information about the notifications mailing list