1 /*
2  * SPDX-FileCopyrightText: 2019-2021 Espressif Systems (Shanghai) CO LTD
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #pragma once
8 
9 #include <stdint.h>
10 #include "soc/timer_group_reg.h"
11 #include "soc/timer_group_struct.h"
12 #include "soc/soc_caps.h"
13 #include "soc/periph_defs.h"
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 typedef struct {
20     struct {
21         const periph_module_t module; // Peripheral module
22         const int timer_irq_id[SOC_TIMER_GROUP_TIMERS_PER_GROUP]; // interrupt source ID
23     } groups[SOC_TIMER_GROUPS];
24 } timer_group_signal_conn_t;
25 
26 extern const timer_group_signal_conn_t timer_group_periph_signals;
27 
28 #ifdef __cplusplus
29 }
30 #endif
31