Peripherals

[中文]

DMA

Unified dma_burst_size Default

uhci_controller_config_t::dma_burst_size, async_memcpy_config_t::dma_burst_size, and async_crc_config_t::dma_burst_size now treat 0 as unset and fall back to that driver's own recommended default. This matches I2S, SPI, and LCD, and closes a hole where a zero-initialized config struct could only disable the burst — there was no way to ask for the driver default.

1 is newly defined as "disable the data burst". A single-beat burst has no benefit over non-burst mode.

dma_burst_size

Meaning

0

Fall back to the driver's recommended default

1

Disable data burst

N (N > 1, power of 2)

User-specified burst size


Was this page helpful?