summaryrefslogtreecommitdiffstatshomepage
path: root/docs/library/pyb.RTC.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/library/pyb.RTC.rst')
-rw-r--r--docs/library/pyb.RTC.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/library/pyb.RTC.rst b/docs/library/pyb.RTC.rst
index 19401b9823..383ddf20c2 100644
--- a/docs/library/pyb.RTC.rst
+++ b/docs/library/pyb.RTC.rst
@@ -25,7 +25,7 @@ Constructors
Methods
-------
-.. method:: rtc.datetime([datetimetuple])
+.. method:: RTC.datetime([datetimetuple])
Get or set the date and time of the RTC.
@@ -45,7 +45,7 @@ Methods
.. only:: port_pyboard
- .. method:: rtc.wakeup(timeout, callback=None)
+ .. method:: RTC.wakeup(timeout, callback=None)
Set the RTC wakeup timer to trigger repeatedly at every ``timeout``
milliseconds. This trigger can wake the pyboard from both the sleep
@@ -56,7 +56,7 @@ Methods
If ``callback`` is given then it is executed at every trigger of the
wakeup timer. ``callback`` must take exactly one argument.
- .. method:: rtc.info()
+ .. method:: RTC.info()
Get information about the startup time and reset source.
@@ -65,7 +65,7 @@ Methods
- Bit 0x10000 is set if a power-on reset occurred.
- Bit 0x20000 is set if an external reset occurred
- .. method:: rtc.calibration(cal)
+ .. method:: RTC.calibration(cal)
Get or set RTC calibration.