mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
feat(i2s): enable dma burst size configuration
This commit is contained in:
@@ -25,6 +25,11 @@ extern "C" {
|
||||
GDMA_BURST_SIZE_SUPPORT_32 | \
|
||||
GDMA_BURST_SIZE_SUPPORT_64)
|
||||
|
||||
#define LP_AHB_DMA_LL_SUPPORTED_BURST_SIZE_MASK (GDMA_BURST_SIZE_SUPPORT_4 | \
|
||||
GDMA_BURST_SIZE_SUPPORT_16 | \
|
||||
GDMA_BURST_SIZE_SUPPORT_32 | \
|
||||
GDMA_BURST_SIZE_SUPPORT_64)
|
||||
|
||||
// any "dummy" peripheral ID can be used for M2M mode
|
||||
#define AHB_DMA_LL_M2M_FREE_PERIPH_ID_MASK (0x8200)
|
||||
#define AHB_DMA_LL_RX_EVENT_MASK (0x7F)
|
||||
|
||||
@@ -319,7 +319,7 @@ static gdma_hal_priv_data_t gdma_lp_ahb_hal_priv_data = {
|
||||
.tx_event_mask = AHB_DMA_LL_TX_EVENT_MASK,
|
||||
.rx_event_mask = AHB_DMA_LL_RX_EVENT_MASK,
|
||||
#if GDMA_LL_GET(AHB_BURST_SIZE_ADJUSTABLE)
|
||||
.supported_burst_size_mask = AHB_DMA_LL_SUPPORTED_BURST_SIZE_MASK,
|
||||
.supported_burst_size_mask = LP_AHB_DMA_LL_SUPPORTED_BURST_SIZE_MASK,
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user