Select one of the symbols to view example projects that use it.
 
Outline
#include <stdint.h>
#include "sdkconfig.h"
esp_deep_sleep_wakeup_io_reset();
Files
loading...
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/esp_hw_support/include/esp_private/sleep_gpio.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 *//* ... */ #pragma once #include <stdint.h> #include "sdkconfig.h" #ifdef __cplusplus extern "C" { #endif /** * @file sleep_gpio.h * * This file contains declarations of GPIO related functions in sleep modes. *//* ... */ #if CONFIG_GPIO_ESP32_SUPPORT_SWITCH_SLP_PULL /** * @brief Save GPIO pull-up and pull-down configuration information in the wake-up state * * In light sleep mode, the pull-up and pull-down resistors of GPIO will cause * leakage current when the system sleeps. In order to reduce the power * consumption of system sleep, it needs to save the configuration information * of all GPIO pull-up and pull-down resistors and disable the pull-up and * pull-down resistors of GPIO before the system enters sleep. *//* ... */ void gpio_sleep_mode_config_apply(void); /** * @brief Restore GPIO pull-up and pull-down configuration information in the wake-up state * * In light sleep mode, after the system wakes up, it needs to restore all GPIO * pull-up and pull-down configurations before the last sleep. *//* ... */ void gpio_sleep_mode_config_unapply(void); /* ... */ #endif // CONFIG_GPIO_ESP32_SUPPORT_SWITCH_SLP_PULL /** * @brief Call once in startup to disable the wakeup IO pins and release their holding state after waking up from Deep-sleep *//* ... */ void esp_deep_sleep_wakeup_io_reset(void); #ifdef __cplusplus }{...} #endif
Details
Show:
from
Types: Columns:
This file uses the notable symbols shown below. Click anywhere in the file to view more details.