mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 20:41:14 +00:00
gdma: separate tx/rx channel interrupt
This commit is contained in:
@@ -20,13 +20,16 @@ const gdma_signal_conn_t gdma_periph_signals = {
|
||||
.module = PERIPH_GDMA_MODULE,
|
||||
.pairs = {
|
||||
[0] = {
|
||||
.irq_id = ETS_DMA_CH0_INTR_SOURCE
|
||||
.rx_irq_id = ETS_DMA_CH0_INTR_SOURCE,
|
||||
.tx_irq_id = ETS_DMA_CH0_INTR_SOURCE,
|
||||
},
|
||||
[1] = {
|
||||
.irq_id = ETS_DMA_CH1_INTR_SOURCE
|
||||
.rx_irq_id = ETS_DMA_CH1_INTR_SOURCE,
|
||||
.tx_irq_id = ETS_DMA_CH1_INTR_SOURCE,
|
||||
},
|
||||
[2] = {
|
||||
.irq_id = ETS_DMA_CH2_INTR_SOURCE
|
||||
.rx_irq_id = ETS_DMA_CH2_INTR_SOURCE,
|
||||
.tx_irq_id = ETS_DMA_CH2_INTR_SOURCE,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -14,7 +14,6 @@
|
||||
#define SOC_ASYNC_MEMCPY_SUPPORTED 1
|
||||
#define SOC_USB_SERIAL_JTAG_SUPPORTED 1
|
||||
|
||||
|
||||
/*-------------------------- COMMON CAPS ---------------------------------------*/
|
||||
#define SOC_SUPPORTS_SECURE_DL_MODE 1
|
||||
#define SOC_EFUSE_SECURE_BOOT_KEY_DIGESTS 3
|
||||
@@ -68,8 +67,9 @@
|
||||
#define SOC_DS_KEY_CHECK_MAX_WAIT_US (1100)
|
||||
|
||||
/*-------------------------- GDMA CAPS -------------------------------------*/
|
||||
#define SOC_GDMA_GROUPS (1)
|
||||
#define SOC_GDMA_PAIRS_PER_GROUP (3)
|
||||
#define SOC_GDMA_GROUPS (1) // Number of GDMA groups
|
||||
#define SOC_GDMA_PAIRS_PER_GROUP (3) // Number of GDMA pairs in each group
|
||||
#define SOC_GDMA_TX_RX_SHARE_INTERRUPT (1) // TX and RX channel in the same pair will share the same interrupt source number
|
||||
|
||||
/*-------------------------- GPIO CAPS ---------------------------------------*/
|
||||
// ESP32-C3 has 1 GPIO peripheral
|
||||
@@ -205,6 +205,7 @@
|
||||
#define SOC_SPI_MEM_SUPPORT_SW_SUSPEND (1)
|
||||
#define SOC_SPI_MEM_SUPPORT_CHECK_SUS (1)
|
||||
|
||||
|
||||
/*-------------------------- SYSTIMER CAPS ----------------------------------*/
|
||||
#define SOC_SYSTIMER_COUNTER_NUM (2) // Number of counter units
|
||||
#define SOC_SYSTIMER_ALARM_NUM (3) // Number of alarm units
|
||||
|
Reference in New Issue
Block a user