Power Management: add RTC8M power domain to control whether internal 8m oscillator is powered down during sleep

This commit is contained in:
Li Shuai
2021-08-27 10:38:55 +08:00
parent d2fa3fd234
commit 4ef6e37fcb
9 changed files with 49 additions and 8 deletions

View File

@@ -49,7 +49,10 @@ typedef enum {
ESP_PD_DOMAIN_RTC_SLOW_MEM, //!< RTC slow memory
ESP_PD_DOMAIN_RTC_FAST_MEM, //!< RTC fast memory
ESP_PD_DOMAIN_XTAL, //!< XTAL oscillator
#if SOC_PM_SUPPORT_CPU_PD
ESP_PD_DOMAIN_CPU, //!< CPU core
#endif
ESP_PD_DOMAIN_RTC8M, //!< Internal 8M oscillator
ESP_PD_DOMAIN_VDDSDIO, //!< VDD_SDIO
ESP_PD_DOMAIN_MAX //!< Number of domains
} esp_sleep_pd_domain_t;