change(esp_hw_support): switch lp_cpu power mode with clock src to save lp_cpu working power

This commit is contained in:
wuzhenghui
2024-09-20 17:26:31 +08:00
parent e051b921b8
commit 04b2afed44
13 changed files with 58 additions and 50 deletions
@@ -49,6 +49,7 @@ typedef enum {
#define RTC_SLEEP_DIG_USE_8M BIT(16)
#define RTC_SLEEP_USE_ADC_TESEN_MONITOR BIT(17)
#define RTC_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
#define RTC_SLEEP_XTAL_AS_RTC_FAST BIT(19)
#if SOC_PM_SUPPORT_EXT0_WAKEUP
#define RTC_EXT0_TRIG_EN PMU_EXT0_WAKEUP_EN //!< EXT0 wakeup