mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
Move per-target LEDC regdma retention descriptors out of esp_hal_ledc and into esp_driver_ledc so the driver owns its backup scope and restore flow.
31 lines
754 B
C
31 lines
754 B
C
/*
|
|
* SPDX-FileCopyrightText: 2025-2026 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include "hal/ledc_periph.h"
|
|
#include "soc/gpio_sig_map.h"
|
|
#include "soc/ledc_reg.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_out_idx = {
|
|
LEDC_LS_SIG_OUT0_IDX,
|
|
LEDC_LS_SIG_OUT1_IDX,
|
|
LEDC_LS_SIG_OUT2_IDX,
|
|
LEDC_LS_SIG_OUT3_IDX,
|
|
LEDC_LS_SIG_OUT4_IDX,
|
|
LEDC_LS_SIG_OUT5_IDX,
|
|
}
|
|
},
|
|
},
|
|
}
|
|
};
|