File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,20 +59,17 @@ Power related functions
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
6161 as any interrupt is triggered (including the systick which has a period of 1ms).
62- Current consumption is reduced to ~12mA (in WLAN STA mode)
6362
6463.. function :: sleep()
6564
6665 Stops the CPU and disables all peripherals except for WLAN. Execution is resumed from
6766 the point where the sleep was requested. Wake sources are ``Pin ``, ``RTC `` and ``WLAN ``.
68- Current consumption is reduced to 950uA (in WLAN STA mode).
6967
7068.. function :: deepsleep()
7169
7270 Stops the CPU and all peripherals including WLAN. Execution is resumed from main, just
7371 as with a reset. The reset cause can be checked to know that we are coming from
74- ``machine.DEEPSLEEP ``. Wake sources are ``Pin `` and ``RTC ``. Current consumption
75- is reduced to ~5uA.
72+ ``machine.DEEPSLEEP ``. Wake sources are ``Pin `` and ``RTC ``.
7673
7774.. only :: port_wipy
7875
Original file line number Diff line number Diff line change @@ -170,3 +170,9 @@ There are currently 2 kinds of errors that you might see:
1701702. If the heartbeat LED stays on, then there was a hard fault, you cannot
171171 recover from this, the only way out is to press the reset switch.
172172
173+ Power consumption in various sleep modes
174+ ----------------------------------------
175+
176+ * ``machine.idle() `` - ~12mA (in WLAN STA mode)
177+ * ``machine.sleep() `` - 950uA (in WLAN STA mode)
178+ * ``machine.deepsleep() `` - ~5uA
You can’t perform that action at this time.
0 commit comments