Merge branch 'fix/support_union_lp_io_clk_control_v5.3' into 'release/v5.3'

fix(esp_driver_gpio): manage lp_io module clock by driver (v5.3)

See merge request espressif/esp-idf!31359
This commit is contained in:
Jiang Jiang Jian
2024-06-11 10:45:00 +08:00
14 changed files with 154 additions and 80 deletions
+9 -1
View File
@@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: 2015-2023 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2015-2024 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
@@ -31,6 +31,14 @@ extern "C" {
#endif
#if SOC_RTCIO_PIN_COUNT > 0
#if SOC_LP_IO_CLOCK_IS_INDEPENDENT
/**
* Enable rtcio module clock.
*/
#define rtcio_hal_enable_io_clock(enable) rtcio_ll_output_enable(enable)
#endif
/**
* Select the rtcio function.
*