feat(gptimer): driver support on esp32p4

This commit is contained in:
morris
2023-07-12 15:21:40 +08:00
parent 7fdf25e757
commit 9cd16a8f95
8 changed files with 503 additions and 141 deletions

View File

@@ -7,5 +7,20 @@
#include "soc/timer_periph.h"
const timer_group_signal_conn_t timer_group_periph_signals = {
.groups = {
[0] = {
.module = PERIPH_TIMG0_MODULE,
.timer_irq_id = {
[0] = ETS_TG0_T0_INTR_SOURCE,
[1] = ETS_TG0_T1_INTR_SOURCE,
}
},
[1] = {
.module = PERIPH_TIMG1_MODULE,
.timer_irq_id = {
[0] = ETS_TG1_T0_INTR_SOURCE,
[1] = ETS_TG1_T1_INTR_SOURCE,
}
}
}
};