summaryrefslogtreecommitdiff
path: root/shared-bindings/_typing
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2020-11-21 23:29:52 -0500
committerDan Halbert <halbert@halwitz.org>2020-11-21 23:29:52 -0500
commit75559f35ccc946dfd292e25671919e5d5b3bd7a6 (patch)
tree0b35247469879119e23c6d56f61866b386d121a0 /shared-bindings/_typing
parente4c66990e27779f43f4901d431b6c61f8da85f51 (diff)
wip: ResetReason to microcontroller.cpu
Diffstat (limited to 'shared-bindings/_typing')
-rw-r--r--shared-bindings/_typing/__init__.pyi11
1 files changed, 5 insertions, 6 deletions
diff --git a/shared-bindings/_typing/__init__.pyi b/shared-bindings/_typing/__init__.pyi
index 3b3f18cb9..02839ab47 100644
--- a/shared-bindings/_typing/__init__.pyi
+++ b/shared-bindings/_typing/__init__.pyi
@@ -54,13 +54,12 @@ FrameBuffer = Union[rgbmatrix.RGBMatrix]
"""
Alarm = Union[
- alarm_time.Time, alarm_pin.PinLevel, alarm_touch.PinTouch
+ alarm.pin.PinAlarm, alarm.time.DurationAlarm
]
-"""Classes that implement the audiosample protocol
+"""Classes that implement alarms for sleeping and asynchronous notification.
- - `alarm_time.Time`
- - `alarm_pin.PinLevel`
- - `alarm_touch.PinTouch`
+ - `alarm.pin.PinAlarm`
+ - `alarm.time.DurationAlarm`
- You can play use these alarms to wake from light or deep sleep.
+ You can use these alarms to wake from light or deep sleep.
"""