You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/esp_hw_support/include/esp_private/esp_sleep_internal.h
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,9 @@ typedef enum {
40
40
ESP_SLEEP_DIG_USE_XTAL_MODE, //!< The mode requested by digital peripherals to keep XTAL clock on during sleep (both HP_SLEEP and LP_SLEEP mode). (!!! Only valid for lightsleep, will override the XTAL domain config by esp_sleep_pd_config)
41
41
ESP_SLEEP_LP_USE_XTAL_MODE, //!< The mode requested by lp peripherals to keep XTAL clock on during sleep. Only valid for lightsleep.
42
42
ESP_SLEEP_VBAT_POWER_DEEPSLEEP_MODE, //!< The mode to switch power supply to VBAT during deep sleep.
43
+
#ifCONFIG_IDF_TARGET_ESP32
44
+
ESP_SLEEP_ANALOG_LOW_POWER_MODE, //!< If analog-related peripherals(ADC, TSENS, TOUCH) is not used in monitor mode, analog low power mode can be enabled to reduce power consumption (~300uA) in monitor state.
#defineRTC_SLEEP_PD_INT_8M BIT(8) //!< Power down Internal 8M oscillator
528
529
529
530
//These flags are not power domains, but will affect some sleep parameters
531
+
#ifCONFIG_IDF_TARGET_ESP32
532
+
#defineRTC_SLEEP_WITH_LOWPOWER_ANALOG BIT(15) //!< Setting analog low power mode in esp32 monitor state, in which analog-related peripherals(ADC, TOUCH) is not used.
533
+
#endif
530
534
#defineRTC_SLEEP_DIG_USE_8M BIT(16)
531
535
#defineRTC_SLEEP_USE_ADC_TESEN_MONITOR BIT(17)
532
536
#defineRTC_SLEEP_NO_ULTRA_LOW BIT(18) //!< Avoid using ultra low power in deep sleep, in which RTCIO cannot be used as input, and RTCMEM can't work under high temperature
0 commit comments