1 /* 2 * SPDX-FileCopyrightText: 2020-2021 Espressif Systems (Shanghai) CO LTD 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include "soc/soc.h" 8 #include "soc/timer_periph.h" 9 10 const timer_group_signal_conn_t timer_group_periph_signals = { 11 .groups = { 12 [0] = { 13 .module = PERIPH_TIMG0_MODULE, 14 .timer_irq_id = { 15 [0] = ETS_TG0_T0_LEVEL_INTR_SOURCE, 16 [1] = ETS_TG0_T1_LEVEL_INTR_SOURCE, 17 } 18 }, 19 [1] = { 20 .module = PERIPH_TIMG1_MODULE, 21 .timer_irq_id = { 22 [0] = ETS_TG1_T0_LEVEL_INTR_SOURCE, 23 [1] = ETS_TG1_T1_LEVEL_INTR_SOURCE, 24 } 25 } 26 } 27 }; 28