1 /*
2  * SPDX-FileCopyrightText: 2015-2022 Espressif Systems (Shanghai) CO LTD
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #pragma once
8 
9 #include "soc/soc_caps.h"
10 #include "soc/periph_defs.h"
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 typedef struct {
17     struct {
18         const int irq;
19         const periph_module_t module;
20         struct {
21             struct {
22                 const int tx_sig;
23                 const int rx_sig;
24             };
25         } channels[SOC_RMT_CHANNELS_PER_GROUP];
26     } groups[SOC_RMT_GROUPS];
27 } rmt_signal_conn_t;
28 
29 extern const rmt_signal_conn_t rmt_periph_signals;
30 
31 #ifdef __cplusplus
32 }
33 #endif
34