diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-05-03 12:26:55 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-05-03 12:26:55 +0300 |
commit | db99ae00a2a37fbe3ec92f306e43c5c1e3fe18b0 (patch) | |
tree | bdde90b6c0798909e26e9a5fe0d9c3c0965fe6c4 /docs/library | |
parent | 06ec96b47b3777dbad0c76291b1bc128036cf3e5 (diff) | |
download | micropython-db99ae00a2a37fbe3ec92f306e43c5c1e3fe18b0.tar.gz micropython-db99ae00a2a37fbe3ec92f306e43c5c1e3fe18b0.zip |
docs/machine: Move WiPy-specific hardware details to its general reference.
Diffstat (limited to 'docs/library')
-rw-r--r-- | docs/library/machine.rst | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/docs/library/machine.rst b/docs/library/machine.rst index 3af86db819..f9dca29875 100644 --- a/docs/library/machine.rst +++ b/docs/library/machine.rst @@ -59,20 +59,17 @@ 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). - Current consumption is reduced to ~12mA (in WLAN STA mode) .. function:: sleep() Stops the CPU and disables all peripherals except for WLAN. Execution is resumed from the point where the sleep was requested. Wake sources are ``Pin``, ``RTC`` and ``WLAN``. - Current consumption is reduced to 950uA (in WLAN STA mode). .. function:: deepsleep() Stops the CPU and all peripherals including WLAN. Execution is resumed from main, just as with a reset. The reset cause can be checked to know that we are coming from - ``machine.DEEPSLEEP``. Wake sources are ``Pin`` and ``RTC``. Current consumption - is reduced to ~5uA. + ``machine.DEEPSLEEP``. Wake sources are ``Pin`` and ``RTC``. .. only:: port_wipy |