Home
last modified time | relevance | path

Searched refs:min_freq_mhz (Results 1 – 13 of 13) sorted by relevance

/hal_espressif-3.6.0/zephyr/esp_shared/components/esp_pm/
Dpm_impl.c199 static void esp_pm_light_sleep_default_params_config(int min_freq_mhz, int max_freq_mhz);
232 int min_freq_mhz = config->min_freq_mhz; in esp_pm_configure() local
235 if (min_freq_mhz > max_freq_mhz) { in esp_pm_configure()
240 if (!rtc_clk_cpu_freq_mhz_to_config(min_freq_mhz, &freq_config)) { in esp_pm_configure()
241 ESP_LOGW(TAG, "invalid min_freq_mhz value (%d)", min_freq_mhz); in esp_pm_configure()
246 if (min_freq_mhz < xtal_freq_mhz && MHZ(min_freq_mhz) / REF_CLK_FREQ < REF_CLK_DIV_MIN) { in esp_pm_configure()
273 apb_max_freq = MAX(apb_max_freq, min_freq_mhz); in esp_pm_configure()
279 min_freq_mhz, in esp_pm_configure()
288 res = rtc_clk_cpu_freq_mhz_to_config(min_freq_mhz, &s_cpu_freq_by_mode[PM_MODE_APB_MIN]); in esp_pm_configure()
308 esp_pm_light_sleep_default_params_config(min_freq_mhz, max_freq_mhz); in esp_pm_configure()
[all …]
/hal_espressif-3.6.0/components/esp_pm/
Dpm_impl.c198 static void esp_pm_light_sleep_default_params_config(int min_freq_mhz, int max_freq_mhz);
240 int min_freq_mhz = config->min_freq_mhz; in esp_pm_configure() local
243 if (min_freq_mhz > max_freq_mhz) { in esp_pm_configure()
248 if (!rtc_clk_cpu_freq_mhz_to_config(min_freq_mhz, &freq_config)) { in esp_pm_configure()
249 ESP_LOGW(TAG, "invalid min_freq_mhz value (%d)", min_freq_mhz); in esp_pm_configure()
254 if (min_freq_mhz < xtal_freq_mhz && min_freq_mhz * MHZ / REF_CLK_FREQ < REF_CLK_DIV_MIN) { in esp_pm_configure()
281 apb_max_freq = MAX(apb_max_freq, min_freq_mhz); in esp_pm_configure()
287 min_freq_mhz, in esp_pm_configure()
297 res = rtc_clk_cpu_freq_mhz_to_config(min_freq_mhz, &s_cpu_freq_by_mode[PM_MODE_APB_MIN]); in esp_pm_configure()
317 esp_pm_light_sleep_default_params_config(min_freq_mhz, max_freq_mhz); in esp_pm_configure()
[all …]
/hal_espressif-3.6.0/components/esp_pm/test/
Dtest_pm.c57 .min_freq_mhz = MIN(mhz, xtal_freq),
104 .min_freq_mhz = xtal_freq,
126 .min_freq_mhz = cur_freq_mhz,
/hal_espressif-3.6.0/components/esp_wifi/src/
Dwifi_init.c189 int min_freq_mhz = esp_pm_impl_get_cpu_freq(PM_MODE_LIGHT_SLEEP); in esp_wifi_init() local
191 esp_wifi_internal_update_light_sleep_default_params(min_freq_mhz, max_freq_mhz); in esp_wifi_init()
/hal_espressif-3.6.0/components/esp_pm/include/esp32/
Dpm.h35 int min_freq_mhz; /*!< Minimum CPU frequency to use when no locks are taken, in MHz */ member
/hal_espressif-3.6.0/components/esp_pm/include/esp32c3/
Dpm.h35 int min_freq_mhz; /*!< Minimum CPU frequency to use when no locks are taken, in MHz */ member
/hal_espressif-3.6.0/components/esp_pm/include/esp32h2/
Dpm.h35 int min_freq_mhz; /*!< Minimum CPU frequency to use when no locks are taken, in MHz */ member
/hal_espressif-3.6.0/components/esp_pm/include/esp32s3/
Dpm.h35 int min_freq_mhz; /*!< Minimum CPU frequency to use when no locks are taken, in MHz */ member
/hal_espressif-3.6.0/components/esp_pm/include/esp32s2/
Dpm.h35 int min_freq_mhz; /*!< Minimum CPU frequency to use when no locks are taken, in MHz */ member
/hal_espressif-3.6.0/examples/wifi/power_save/main/
Dpower_save.c108 .min_freq_mhz = CONFIG_EXAMPLE_MIN_CPU_FREQ_MHZ,
/hal_espressif-3.6.0/components/esp_wifi/include/esp_private/
Dwifi.h572 void esp_wifi_internal_update_light_sleep_default_params(int min_freq_mhz, int max_freq_mhz);
/hal_espressif-3.6.0/docs/zh_CN/api-reference/system/
Dpower_management.rst31 - ``min_freq_mhz``:最小 CPU 频率 (MHz),即仅获取 ``ESP_PM_APB_FREQ_MAX`` 锁后所使用的频率。该字段可设置为晶振 (XTAL) 频率值,或者 XT…
/hal_espressif-3.6.0/docs/en/api-reference/system/
Dpower_management.rst31 - ``min_freq_mhz``: Minimum CPU frequency in MHz, i.e., the frequency used when only the ``ESP_PM_A…