[riot-notifications] [RIOT-OS/RIOT] sam0_common: make RTC implementation common across all sam0 MCUs (#11317)

benpicco notifications at github.com
Mon Apr 15 22:24:59 CEST 2019

benpicco commented on this pull request.

> @@ -41,13 +43,45 @@ static rtc_state_t rtc_callback;
 * Thanks to this, the user will be able to set time in 2000's*/
 static uint16_t reference_year = 100;
-void rtc_init(void)
+static void _wait_syncbusy(void)
+    while (RTC->MODE2.SYNCBUSY.reg);


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190415/1ba3305a/attachment.html>

More information about the notifications mailing list