Power Management: add XTAL power domain to control whether external 40MHz xtal is powered down during sleep

This commit is contained in:
Li Shuai
2021-09-06 14:17:43 +08:00
parent 4f4254537c
commit aac59ed5ec
6 changed files with 17 additions and 9 deletions

View File

@@ -673,6 +673,7 @@ typedef struct {
#define RTC_SLEEP_PD_VDDSDIO BIT(5) //!< Power down VDDSDIO regulator
#define RTC_SLEEP_PD_WIFI BIT(6)
#define RTC_SLEEP_PD_INT_8M BIT(10) //!< Power down Internal 8M oscillator
#define RTC_SLEEP_PD_XTAL BIT(11) //!< Power down main XTAL
/**
* @brief Prepare the chip to enter sleep mode