1menu "Example Configuration"
2
3    config EXAMPLE_TOUCH_WAKEUP
4        bool "Enable touch wake up"
5        default y
6        depends on !IDF_TARGET_ESP32C3 && !IDF_TARGET_ESP32S3
7        help
8            This option enables wake up from deep sleep using touch pads
9            TOUCH8 and TOUCH9, which correspond to GPIO33 and GPIO32.
10
11    config EXAMPLE_ULP_TEMPERATURE_WAKEUP
12        bool "Enable temperature monitoring by ULP"
13        default y
14        depends on IDF_TARGET_ESP32
15        help
16            This option enables wake up from deep sleep using ULP.
17            ULP program monitors the on-chip temperature sensor and
18            wakes up the chip when the temperature goes outside of
19            the window defined by the initial temperature and a threshold
20            around it.
21
22    config EXAMPLE_EXT1_WAKEUP
23        bool "Enable wakeup from GPIO"
24        default y
25        depends on !IDF_TARGET_ESP32C3
26        help
27            This option enables wake up from deep sleep from GPIO2 and GPIO4. They should be connected to LOW to avoid
28            floating pins. When triggering a wake up, connect one or both of the pins to HIGH. Note that floating
29            pins may trigger a wake up.
30
31    config EXAMPLE_GPIO_WAKEUP
32        bool "Enable wakeup from GPIO"
33        default y
34        depends on IDF_TARGET_ESP32C3
35        help
36            This option enables wake up from GPIO, only GPIO0~5 can be used to wake up. Be aware that if you use low
37            level to trigger wakeup, we strongly recommand you to connect external pull-up resistance.
38
39    menu "GPIO wakeup configuration"
40        visible if IDF_TARGET_ESP32C3
41
42        config EXAMPLE_GPIO_WAKEUP_PIN
43            int "Enable wakeup from GPIO"
44            default 0
45            range 0 5
46
47        config EXAMPLE_GPIO_WAKEUP_HIGH_LEVEL
48            bool "Enable GPIO high-level wakeup"
49            default y
50            help
51                This option set the gpio wake-up trigger signal, In deep sleep, only high or low level wake-up is
52                supported. If this option is enabled, it is a high level wake up, otherwise it is a low level wake up.
53    endmenu
54
55endmenu
56