[riot-notifications] [RIOT-OS/RIOT] cpu/atmega_common: RTT and RTC support (#8842)

ZetaR60 notifications at github.com
Sat Apr 20 19:10:46 CEST 2019


If you want an easier to understand description of what I am using volatile for: I am using `rtt_state.ext_cnt` and `rtc_state.time` _as-if_ they are registers. This is done to extend `TCNT2` to a higher bit size. So, basically, think of them as registers that just also happen to be ordinary memory locations.

-- 
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/8842#issuecomment-485143901
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190420/b7a63a4c/attachment.html>


More information about the notifications mailing list