Lines Matching +full:wakeup +full:- +full:and +full:- +full:sleep
1 .. zephyr:code-sample:: esp32-deep-sleep
2 :name: Deep Sleep
4 Use deep sleep with wake on timer, GPIO, and EXT1 sources on ESP32.
9 The deep sleep mode of the ESP32 Series is a power saving mode that causes the
10 CPU, majority of RAM, and digital peripherals that are clocked from APB_CLK to
13 This sample shows how to set a wake up source, trigger deep sleep and then
14 make use of that pre-configured wake up source to bring the system back again.
21 uses GPIO2 and GPIO4 to trigger a wake up with any one of the two pins are
23 3. ``GPIO``: Only supported by some Espressif SoCs, in the case of ESP32-C3
24 GPIOS0~5 can be used as wake-up sources.
26 In this demo, Timer is the only wake-up source that cannot be disabled via a
28 as wake-up source, deep sleep for 20 seconds, wake up.
35 only ``Timer`` is used as wakeup source.
37 However, when ``EXT1`` is also enabled, GPIO2 and GPIO4 should be pulled-down
43 enabled as wake-up source.
49 Building, Flashing and Running
52 .. zephyr-app-commands::
53 :zephyr-app: samples/boards/espressif/deep_sleep
61 -----------------
67 .. code-block:: console
69 *** Booting Zephyr OS build zephyr-v3.1.0-3667-gb42e2b225ecf ***
72 Enabling timer wakeup, 20s
73 Enabling EXT1 wakeup on pins GPIO2, GPIO4