refactor(ledc): split ledc hal into a separate component

This commit is contained in:
Song Ruo Jing
2025-12-25 17:23:27 +08:00
parent 847840150b
commit 6ca90bd14a
41 changed files with 152 additions and 118 deletions
@@ -0,0 +1,20 @@
/*
* SPDX-FileCopyrightText: 2015-2024 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "hal/ledc_periph.h"
#include "soc/gpio_sig_map.h"
/*
Bunch of constants for every LEDC peripheral: GPIO signals
*/
const ledc_signal_conn_t ledc_periph_signal[2] = {
{
.sig_out0_idx = LEDC_HS_SIG_OUT0_IDX,
},
{
.sig_out0_idx = LEDC_LS_SIG_OUT0_IDX,
}
};