mirror of
https://github.com/micropython/micropython.git
synced 2025-12-15 17:30:14 +01:00
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>
12 KiB
12 KiB