refactor(ledc): refactor ledc periph signal define

This commit is contained in:
Song Ruo Jing
2026-04-08 15:27:44 +08:00
parent 25d8f3c269
commit 16f4d275e4
14 changed files with 144 additions and 15 deletions
+10 -1
View File
@@ -15,7 +15,16 @@ const ledc_signal_conn_t ledc_periph_signal[1] = {
{
.irq_id = ETS_LEDC_INTR_SOURCE,
.speed_mode = {
[0] = { .sig_out0_idx = LEDC_LS_SIG_OUT0_IDX },
[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,
}
},
},
}
};