esp-idf/components/soc/esp32c3/gdma_periph.c

30 wiersze
811 B
C
Czysty Zwykły widok Historia

2021-11-08 02:26:52 +00:00
/*
* SPDX-FileCopyrightText: 2020-2021 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
2020-12-09 12:29:26 +00:00
#include "soc/gdma_periph.h"
const gdma_signal_conn_t gdma_periph_signals = {
.groups = {
[0] = {
.module = PERIPH_GDMA_MODULE,
.pairs = {
[0] = {
2021-04-27 10:52:42 +00:00
.rx_irq_id = ETS_DMA_CH0_INTR_SOURCE,
.tx_irq_id = ETS_DMA_CH0_INTR_SOURCE,
2020-12-09 12:29:26 +00:00
},
[1] = {
2021-04-27 10:52:42 +00:00
.rx_irq_id = ETS_DMA_CH1_INTR_SOURCE,
.tx_irq_id = ETS_DMA_CH1_INTR_SOURCE,
2020-12-09 12:29:26 +00:00
},
[2] = {
2021-04-27 10:52:42 +00:00
.rx_irq_id = ETS_DMA_CH2_INTR_SOURCE,
.tx_irq_id = ETS_DMA_CH2_INTR_SOURCE,
2020-12-09 12:29:26 +00:00
}
}
}
}
};