summaryrefslogtreecommitdiff
path: root/docs/library/pyb.RTC.rst
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-06-08 16:21:28 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-06-08 16:21:28 +0300
commita384a5313013d8ffda4db0e509cf798a080b3526 (patch)
treec1b87be77f0a3a68fc5a55880bf9de8af3b90b87 /docs/library/pyb.RTC.rst
parent585aafc27eb7fa8fe660e3eeaa29bf8d7ab99213 (diff)
docs/pyb.*: Use proper class case in method headers.
Class designator will be used as is in indexes, so must match actual class name.
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 19401b982..383ddf20c 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.