DMA driver API, source_burst_length, dest_burst_length


Johann Fischer
 

Hi,

The DMA API describes the source_burst_length and dest_burst_length of the struct dma_config as:

...
* source_burst_length [ 0 : 15 ] - number of source data units
* dest_burst_length [ 16 : 31 ] - number of destination data units
...

What are the data units? octets?

From the test code, it is also not clear:

tests/drivers/dma/test_loop_transfer/src/dma.c:

initializes dma_cfg.dest_burst_length = 1;


tests/drivers/dma/test_chan_blen_transfer/src/test_dma.c

initializes dma_cfg.dest_burst_length = blen; /* blen = (8 | 16) */

--
Best Regards,
Johann Fischer

Join devel@lists.zephyrproject.org to automatically receive all group messages.