You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/esp_hw_support/include/esp_private/esp_pmu.h
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* SPDX-FileCopyrightText: 2019-2024 Espressif Systems (Shanghai) CO LTD
2
+
* SPDX-FileCopyrightText: 2019-2025 Espressif Systems (Shanghai) CO LTD
3
3
*
4
4
* SPDX-License-Identifier: Apache-2.0
5
5
*/
@@ -46,11 +46,11 @@ typedef enum {
46
46
#defineRTC_SLEEP_PD_MODEM PMU_SLEEP_PD_MODEM //!< Power down modem(include wifi, ble and 15.4)
47
47
48
48
//These flags are not power domains, but will affect some sleep parameters
49
-
#defineRTC_SLEEP_DIG_USE_8M BIT(16)
50
-
#defineRTC_SLEEP_USE_ADC_TESEN_MONITOR BIT(17)
51
-
#defineRTC_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
52
-
#defineRTC_SLEEP_XTAL_AS_RTC_FAST BIT(19)
53
-
#defineRTC_SLEEP_LP_PERIPH_USE_XTAL BIT(20)
49
+
#defineRTC_SLEEP_DIG_USE_8M BIT(27)
50
+
#defineRTC_SLEEP_USE_ADC_TESEN_MONITOR BIT(28)
51
+
#defineRTC_SLEEP_NO_ULTRA_LOW BIT(29) //!< Avoid using ultra low power in deep sleep, in which RTCIO cannot be used as input, and RTCMEM can't work under high temperature
[0] = { .config=REGDMA_LINK_WRITE_INIT (REGDMA_PCR_LINK(0), PCR_AHB_FREQ_CONF_REG, 0, PCR_AHB_DIV_NUM, 1, 0), .owner=ENTRY(0) | ENTRY(1) }, /* Set AHB bus frequency to XTAL frequency */
[7] = { .config=REGDMA_LINK_WRITE_INIT(REGDMA_PCR_LINK(7), PCR_AHB_FREQ_CONF_REG, 0, PCR_AHB_DIV_NUM, 1, 0), .owner=ENTRY(0) | ENTRY(1) }, /* Set AHB bus frequency to XTAL frequency */
[0] = { .config=REGDMA_LINK_WRITE_INIT (REGDMA_PCR_LINK(3), PCR_AHB_FREQ_CONF_REG, 3, PCR_AHB_DIV_NUM, 1, 0), .owner=ENTRY(1) }, /* Set AHB bus frequency to 40 MHz under PMU MODEM state */
[0] = { .config=REGDMA_LINK_WRITE_INIT (REGDMA_PCR_LINK(4), PCR_AHB_FREQ_CONF_REG, 3, PCR_AHB_DIV_NUM, 1, 0), .owner=ENTRY(1) }, /* Set AHB bus frequency to 40 MHz under PMU MODEM state */
[0] = { .config=REGDMA_LINK_WRITE_INIT (REGDMA_PCR_LINK(0), PCR_AHB_FREQ_CONF_REG, 0, PCR_AHB_DIV_NUM, 1, 0), .owner=ENTRY(0) | ENTRY(1) }, /* Set AHB bus frequency to XTAL frequency */
[7] = { .config=REGDMA_LINK_WRITE_INIT (REGDMA_PCR_LINK(7), PCR_AHB_FREQ_CONF_REG, 0, PCR_AHB_DIV_NUM, 1, 0), .owner=ENTRY(0) | ENTRY(1) }, /* Set AHB bus frequency to XTAL frequency */
[0] = { .config=REGDMA_LINK_WRITE_INIT (REGDMA_PCR_LINK(3), PCR_AHB_FREQ_CONF_REG, 3, PCR_AHB_DIV_NUM, 1, 0), .owner=ENTRY(1) }, /* Set AHB bus frequency to 40 MHz under PMU MODEM state */
[0] = { .config=REGDMA_LINK_WRITE_INIT (REGDMA_PCR_LINK(4), PCR_AHB_FREQ_CONF_REG, 3, PCR_AHB_DIV_NUM, 1, 0), .owner=ENTRY(1) }, /* Set AHB bus frequency to 40 MHz under PMU MODEM state */
0 commit comments