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

30 lines
811 B
C
Raw Normal View History

2021-11-08 10:26:52 +08:00
/*
* SPDX-FileCopyrightText: 2020-2021 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
2020-12-09 20:29:26 +08: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 18:52:42 +08:00
.rx_irq_id = ETS_DMA_CH0_INTR_SOURCE,
.tx_irq_id = ETS_DMA_CH0_INTR_SOURCE,
2020-12-09 20:29:26 +08:00
},
[1] = {
2021-04-27 18:52:42 +08:00
.rx_irq_id = ETS_DMA_CH1_INTR_SOURCE,
.tx_irq_id = ETS_DMA_CH1_INTR_SOURCE,
2020-12-09 20:29:26 +08:00
},
[2] = {
2021-04-27 18:52:42 +08:00
.rx_irq_id = ETS_DMA_CH2_INTR_SOURCE,
.tx_irq_id = ETS_DMA_CH2_INTR_SOURCE,
2020-12-09 20:29:26 +08:00
}
}
}
}
};