Files
esp-idf/components/esp_hal_ledc/esp32/ledc_periph.c
2026-04-01 21:34:52 +08:00

22 lines
510 B
C

/*
* SPDX-FileCopyrightText: 2015-2026 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[1] = {
{
.irq_id = ETS_LEDC_INTR_SOURCE,
.speed_mode = {
[0] = { .sig_out0_idx = LEDC_HS_SIG_OUT0_IDX },
[1] = { .sig_out0_idx = LEDC_LS_SIG_OUT0_IDX },
},
}
};