From bb6458bf43c6e724643aa7854af7c17ea8beb787 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Tue, 3 May 2016 12:48:20 +0300 Subject: docs/machine: More generic description of sleep's, WiPy details to its genref. --- docs/wipy/general.rst | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'docs/wipy') diff --git a/docs/wipy/general.rst b/docs/wipy/general.rst index 13d9a97f3..3c19c75b5 100644 --- a/docs/wipy/general.rst +++ b/docs/wipy/general.rst @@ -170,9 +170,11 @@ There are currently 2 kinds of errors that you might see: 2. If the heartbeat LED stays on, then there was a hard fault, you cannot recover from this, the only way out is to press the reset switch. -Power consumption in various sleep modes ----------------------------------------- +Details on sleep modes +---------------------- -* ``machine.idle()`` - ~12mA (in WLAN STA mode) -* ``machine.sleep()`` - 950uA (in WLAN STA mode) -* ``machine.deepsleep()`` - ~5uA +* ``machine.idle()``: Power consumption: ~12mA (in WLAN STA mode). Wake sources: + any hardware interrupt, no special configuration required. +* ``machine.sleep()``: 950uA (in WLAN STA mode). Wake sources are ``Pin``, ``RTC`` + and ``WLAN`` +* ``machine.deepsleep()``: ~5uA. Wake sources are ``Pin`` and ``RTC``. -- cgit v1.2.3