diff options
| author | Dan Halbert <halbert@halwitz.org> | 2020-12-11 09:03:45 -0500 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2020-12-11 09:03:45 -0500 |
| commit | 39124b888b5e2b55ee99dd60f7afa5e2edfa9fb5 (patch) | |
| tree | 25f2142086aaf849b0d8f353ea531c4491bfa8f1 /shared-bindings | |
| parent | 1daad63d2b54e8fcf9965030ed965873fbcdc178 (diff) | |
doc fixes
Diffstat (limited to 'shared-bindings')
| -rw-r--r-- | shared-bindings/alarm/SleepMemory.c | 4 | ||||
| -rw-r--r-- | shared-bindings/alarm/__init__.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/shared-bindings/alarm/SleepMemory.c b/shared-bindings/alarm/SleepMemory.c index d4a6eb509..7a585ba2c 100644 --- a/shared-bindings/alarm/SleepMemory.c +++ b/shared-bindings/alarm/SleepMemory.c @@ -47,10 +47,10 @@ //| import alarm //| alarm.sleep_memory[0] = True //| alarm.sleep_memory[1] = 12 -//| +//| """ //| def __init__(self) -> None: -//| """Not currently dynamically supported. Access the sole instance through `microcontroller.nvm`.""" +//| """Not used. Access the sole instance through `alarm.sleep_memory`.""" //| ... //| diff --git a/shared-bindings/alarm/__init__.c b/shared-bindings/alarm/__init__.c index 5ef548ef2..700fe020e 100644 --- a/shared-bindings/alarm/__init__.c +++ b/shared-bindings/alarm/__init__.c @@ -58,7 +58,11 @@ //| maintaining the connection takes priority and power consumption may not be reduced. //| """ +//| sleep_memory: SleepMemory +//| """Memory that persists during deep sleep. +//| This object is the sole instance of `alarm.SleepMemory`.""" //| + //| wake_alarm: Alarm //| """The most recently triggered alarm. If CircuitPython was sleeping, the alarm the woke it from sleep.""" //| |
