2022-03-01 02:06:29 -05:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2015-2022 Espressif Systems (Shanghai) CO LTD
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
2019-05-13 06:00:53 -04:00
|
|
|
|
|
|
|
#pragma once
|
2020-10-09 04:41:41 -04:00
|
|
|
|
|
|
|
#include "soc/soc_caps.h"
|
|
|
|
#include "soc/periph_defs.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2023-06-25 04:14:58 -04:00
|
|
|
#if SOC_RMT_SUPPORTED
|
|
|
|
|
2020-10-09 04:41:41 -04:00
|
|
|
typedef struct {
|
|
|
|
struct {
|
2021-04-20 02:36:34 -04:00
|
|
|
const int irq;
|
|
|
|
const periph_module_t module;
|
2020-10-09 04:41:41 -04:00
|
|
|
struct {
|
2021-04-20 02:36:34 -04:00
|
|
|
struct {
|
|
|
|
const int tx_sig;
|
|
|
|
const int rx_sig;
|
|
|
|
};
|
|
|
|
} channels[SOC_RMT_CHANNELS_PER_GROUP];
|
|
|
|
} groups[SOC_RMT_GROUPS];
|
2020-10-09 04:41:41 -04:00
|
|
|
} rmt_signal_conn_t;
|
|
|
|
|
|
|
|
extern const rmt_signal_conn_t rmt_periph_signals;
|
|
|
|
|
2023-06-25 04:14:58 -04:00
|
|
|
#endif // SOC_RMT_SUPPORTED
|
|
|
|
|
2020-10-09 04:41:41 -04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|