1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-19 11:33:51 +01:00
Benjamin Valentin d77724bf04 cpu/sam0_common: RTC: wait for syncbusy in rtc_get_time()
`rtt_get_counter()` already waits for syncbusy before reading the time,
but we also have to do this in RTC mode (`rtc_get_time()`) to avoid
reading old values.

Thus, always wait for syncbusy to clear when accessing the COUNT register.
2022-05-31 15:26:22 +02:00
..
2020-10-23 00:46:26 +02:00
2022-03-31 23:54:33 +02:00
2019-08-03 14:50:58 +02:00
2017-11-06 12:01:19 +01:00
2021-11-16 20:17:04 +01:00
2021-08-13 19:50:38 +02:00