[riot-notifications] [RIOT-OS/RIOT] cpu/rpx0xx: add periph timer (#16627)

fabian18 notifications at github.com
Mon Jul 12 12:28:18 CEST 2021


@fabian18 commented on this pull request.



> +    do {
+        time_h = tmp;
+        time_l = TIMER->TIMERAWL;
+    } while ((tmp = TIMER->TIMERAWH) != time_h);

The SDK does not do it that way because of the second core. But since we are only running on core 0, we could certainly just read TIMELR and then TIMEHR.

-- 
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/16627#discussion_r667812643
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210712/93c6ce9d/attachment.htm>


More information about the notifications mailing list