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.
|
Meaning |
|---|---|
|
Fall back to the driver's recommended default |
|
Disable data burst |
|
User-specified burst size |