summaryrefslogtreecommitdiff
path: root/docs/library
diff options
context:
space:
mode:
Diffstat (limited to 'docs/library')
-rw-r--r--docs/library/machine.RTC.rst9
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/library/machine.RTC.rst b/docs/library/machine.RTC.rst
index ed93c5fff..e2ddd728b 100644
--- a/docs/library/machine.RTC.rst
+++ b/docs/library/machine.RTC.rst
@@ -42,7 +42,14 @@ Methods
Initialise the RTC. Datetime is a tuple of the form:
- ``(year, month, day[, hour[, minute[, second[, microsecond[, tzinfo]]]]])``
+ ``(year, month, day, hour, minute, second, microsecond, tzinfo)``
+
+ All eight arguments must be present. The ``microsecond`` and ``tzinfo``
+ values are currently ignored but might be used in the future.
+
+ Availability: CC3200, ESP32, MIMXRT, SAMD. The rtc.init() method on
+ the stm32 and renesas-ra ports just (re-)starts the RTC and does not
+ accept arguments.
.. method:: RTC.now()