C2 rtc code

This commit is contained in:
zlq
2021-12-20 15:09:07 +08:00
committed by chaijie
parent 4d9930888a
commit 6336f8191e
24 changed files with 136 additions and 182 deletions
@@ -37,9 +37,15 @@ typedef enum {
* @brief Power domains which can be powered down in sleep mode
*/
typedef enum {
#if SOC_PM_SUPPORT_RTC_PERIPH_PD
ESP_PD_DOMAIN_RTC_PERIPH, //!< RTC IO, sensors and ULP co-processor
#endif
#if SOC_RTC_SLOW_MEM_SUPPORTED
ESP_PD_DOMAIN_RTC_SLOW_MEM, //!< RTC slow memory
#endif
#if SOC_RTC_FAST_MEM_SUPPORTED
ESP_PD_DOMAIN_RTC_FAST_MEM, //!< RTC fast memory
#endif
ESP_PD_DOMAIN_XTAL, //!< XTAL oscillator
#if SOC_PM_SUPPORT_CPU_PD
ESP_PD_DOMAIN_CPU, //!< CPU core