esp-idf/components/soc/include/soc/rmt_periph.h

38 lines
677 B
C
Raw Normal View History

2022-03-01 02:06:29 -05:00
/*
* SPDX-FileCopyrightText: 2015-2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include "soc/soc_caps.h"
#include "soc/periph_defs.h"
#ifdef __cplusplus
extern "C" {
#endif
#if SOC_RMT_SUPPORTED
typedef struct {
struct {
2021-04-20 02:36:34 -04:00
const int irq;
const periph_module_t module;
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];
} rmt_signal_conn_t;
extern const rmt_signal_conn_t rmt_periph_signals;
#endif // SOC_RMT_SUPPORTED
#ifdef __cplusplus
}
#endif