mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
fix(clk): postpone CPU PLL off time in sleep
For PMU supported chips, powering down CPU PLL in sleep will be done by PMU, not sleep code
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2022-2024 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@@ -19,8 +19,9 @@ extern "C" {
|
||||
* `rtc_clk_cpu_freq_set_xtal` instead. It will always disable the corresponding PLL after switching the CPU clock
|
||||
* source to XTAL (except for S2).
|
||||
*
|
||||
* Currently, this function should only be called in `esp_restart_noos` and `esp_restart_noos_dig` to switch the CPU
|
||||
* clock source back to XTAL (by default) before reset.
|
||||
* Currently, this function is only called in `esp_restart_noos` and `esp_restart_noos_dig` to switch the CPU
|
||||
* clock source back to XTAL (by default) before reset, and in `esp_sleep_start` to switch CPU clock source to XTAL
|
||||
* before entering sleep for PMU supported chips.
|
||||
*/
|
||||
void rtc_clk_cpu_set_to_default_config(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user