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.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/library/pyb.RTC.rst b/docs/library/pyb.RTC.rst
index 478731247a..4b5f4e6b40 100644
--- a/docs/library/pyb.RTC.rst
+++ b/docs/library/pyb.RTC.rst
@@ -90,12 +90,12 @@ Methods
.. only:: port_wipy
- .. method:: rtc.callback(\*, value, handler=None, wakes=pyb.Sleep.ACTIVE)
+ .. method:: rtc.callback(\*, value, handler=None, wake_from=pyb.Sleep.ACTIVE)
Create a callback object triggered by a real time clock alarm.
- ``value`` is the alarm timeout in milliseconds. This parameter is required.
- ``handler`` is the function to be called when the callback is triggered.
- - ``wakes`` specifies the power mode from where this interrupt can wake
+ - ``wake_from`` specifies the power mode from where this interrupt can wake
up the system.