Merge branch 'refactor/pm_use_unified_esp_pm_config_t' into 'master'

pm: refactor pm codes to use unified esp_pm_config_t

See merge request espressif/esp-idf!22472
This commit is contained in:
Jing Li
2023-02-24 14:06:19 +08:00
57 changed files with 81 additions and 1034 deletions

View File

@@ -573,14 +573,6 @@ void rtc_sleep_init(rtc_sleep_config_t cfg);
*/
void rtc_sleep_low_init(uint32_t slowclk_period);
/**
* @brief Set target value of RTC counter for RTC_TIMER_TRIG_EN wakeup source
* @param t value of RTC counter at which wakeup from sleep will happen;
* only the lower 48 bits are used
*/
void rtc_sleep_set_wakeup_time(uint64_t t);
#define RTC_EXT0_TRIG_EN BIT(0) //!< EXT0 GPIO wakeup
#define RTC_EXT1_TRIG_EN BIT(1) //!< EXT1 GPIO wakeup
#define RTC_GPIO_TRIG_EN BIT(2) //!< GPIO wakeup (light sleep only)