Skip to content

Commit 81a99eb

Browse files
committed
docs/machine: idle() description generalization.
1 parent bb6458b commit 81a99eb

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

docs/library/machine.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ Power related functions
5858

5959
Gates the clock to the CPU, useful to reduce power consumption at any time during
6060
short or long periods. Peripherals continue working and execution resumes as soon
61-
as any interrupt is triggered (including the systick which has a period of 1ms).
61+
as any interrupt is triggered (on many ports this includes system timer
62+
interrupt occuring at regular intervals on the order of millisecond).
6263

6364
.. function:: sleep()
6465

docs/wipy/general.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,8 @@ Details on sleep modes
174174
----------------------
175175

176176
* ``machine.idle()``: Power consumption: ~12mA (in WLAN STA mode). Wake sources:
177-
any hardware interrupt, no special configuration required.
177+
any hardware interrupt (including systick with period of 1ms), no special
178+
configuration required.
178179
* ``machine.sleep()``: 950uA (in WLAN STA mode). Wake sources are ``Pin``, ``RTC``
179180
and ``WLAN``
180181
* ``machine.deepsleep()``: ~5uA. Wake sources are ``Pin`` and ``RTC``.

0 commit comments

Comments
 (0)