diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-05-03 12:53:57 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-05-03 12:53:57 +0300 |
commit | 81a99eb388a6ae05c6ec52439c137496510dc757 (patch) | |
tree | b3d921dfeb3c953d4b31a812ea009db845c1bf37 | |
parent | bb6458bf43c6e724643aa7854af7c17ea8beb787 (diff) |
docs/machine: idle() description generalization.
-rw-r--r-- | docs/library/machine.rst | 3 | ||||
-rw-r--r-- | docs/wipy/general.rst | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/docs/library/machine.rst b/docs/library/machine.rst index ce5edf493..14d75cb46 100644 --- a/docs/library/machine.rst +++ b/docs/library/machine.rst @@ -58,7 +58,8 @@ Power related functions Gates the clock to the CPU, useful to reduce power consumption at any time during short or long periods. Peripherals continue working and execution resumes as soon - as any interrupt is triggered (including the systick which has a period of 1ms). + as any interrupt is triggered (on many ports this includes system timer + interrupt occuring at regular intervals on the order of millisecond). .. function:: sleep() diff --git a/docs/wipy/general.rst b/docs/wipy/general.rst index 3c19c75b5..c1e969660 100644 --- a/docs/wipy/general.rst +++ b/docs/wipy/general.rst @@ -174,7 +174,8 @@ Details on sleep modes ---------------------- * ``machine.idle()``: Power consumption: ~12mA (in WLAN STA mode). Wake sources: - any hardware interrupt, no special configuration required. + any hardware interrupt (including systick with period of 1ms), 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``. |