2021-09-27 00:46:51 -04:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2020-2021 Espressif Systems (Shanghai) CO LTD
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
2020-06-18 05:13:19 -04:00
|
|
|
|
2020-10-13 23:46:30 -04:00
|
|
|
#include "soc/soc.h"
|
|
|
|
#include "soc/timer_periph.h"
|
2020-06-18 05:13:19 -04:00
|
|
|
|
2020-10-13 23:46:30 -04:00
|
|
|
const timer_group_signal_conn_t timer_group_periph_signals = {
|
|
|
|
.groups = {
|
|
|
|
[0] = {
|
|
|
|
.module = PERIPH_TIMG0_MODULE,
|
2021-09-27 00:46:51 -04:00
|
|
|
.timer_irq_id = {
|
|
|
|
[0] = ETS_TG0_T0_LEVEL_INTR_SOURCE,
|
|
|
|
[1] = ETS_TG0_T1_LEVEL_INTR_SOURCE,
|
|
|
|
}
|
2020-10-13 23:46:30 -04:00
|
|
|
},
|
|
|
|
[1] = {
|
|
|
|
.module = PERIPH_TIMG1_MODULE,
|
2021-09-27 00:46:51 -04:00
|
|
|
.timer_irq_id = {
|
|
|
|
[0] = ETS_TG1_T0_LEVEL_INTR_SOURCE,
|
|
|
|
[1] = ETS_TG1_T1_LEVEL_INTR_SOURCE,
|
|
|
|
}
|
2020-10-13 23:46:30 -04:00
|
|
|
}
|
|
|
|
}
|
2020-11-10 02:40:01 -05:00
|
|
|
};
|