diff options
author | Damien George <damien@micropython.org> | 2025-08-12 13:00:11 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-08-15 12:34:28 +1000 |
commit | e58848a21eb6dafce53df991c52ac8db52354daa (patch) | |
tree | 54681c9f78c3ae9f5c63b01920c623b4f4962a17 /docs/zephyr/tutorial/repl.rst | |
parent | b3cd1a355ebf50e06ec9f0c1594e47abd7ee339c (diff) |
alif/machine_rtc: Implement RTC.datetime to get and set the RTC.
The LPRTC peripheral is a 32-bit counter with a 16-bit prescaler. It's
configured here to count at 1Hz (to get maximum date range) and then the
prescaler value is used to get 30 microsecond resolution. That's
essentially a 32+15=47-bit counter.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/zephyr/tutorial/repl.rst')
0 files changed, 0 insertions, 0 deletions