summaryrefslogtreecommitdiff
path: root/py/objlist.c
diff options
context:
space:
mode:
authorrobert-hh <robert@hammelrath.com>2022-09-15 15:58:54 +0200
committerDamien George <damien@micropython.org>2022-10-25 23:20:09 +1100
commitfc9d66fac64422a6a6ea4a79bfd8b2460cc8e9e8 (patch)
tree9d3e627d16ece04d56ce49bdd46c1a27884b0a0f /py/objlist.c
parentbe31fde012e0cf522ec9d70f50923a0a899f438c (diff)
samd/machine_rtc: Add the machine.RTC class.
Methods implemented are: - rtc.init(date) - rtc.datetime([new_date]) - rtc.calibration(value) The presence of this class can be controlled by MICROPY_PY_MACHINE_RTC. If the RTC module is used, the time module uses the RTC as well. For boards without a 32kHz crystal, using RTC makes no sense, since it will then use the ULP32K oscillator, which is not precise at all. Therefore, it will by default only be enabled for boards using a crystal, but can be enabled in the respective mpconfigboard.h.
Diffstat (limited to 'py/objlist.c')
0 files changed, 0 insertions, 0 deletions