|
Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
DMA block configuration structure. More...
#include <dma.h>
DMA block configuration structure.
| source_address | is block starting address at source |
| source_gather_interval | is the address adjustment at gather boundary |
| dest_address | is block starting address at destination |
| dest_scatter_interval | is the address adjustment at scatter boundary |
| dest_scatter_count | is the continuous transfer count between scatter boundaries |
| source_gather_count | is the continuous transfer count between gather boundaries |
| block_size | is the number of bytes to be transferred for this block. |
| config | is a bit field with the following parts: source_gather_en [ 0 ] - 0-disable, 1-enable.
dest_scatter_en [ 1 ] - 0-disable, 1-enable.
source_addr_adj [ 2 : 3 ] - 00-increment, 01-decrement,
10-no change.
dest_addr_adj [ 4 : 5 ] - 00-increment, 01-decrement,
10-no change.
source_reload_en [ 6 ] - reload source address at the end of
block transfer
0-disable, 1-enable.
dest_reload_en [ 7 ] - reload destination address at the end
of block transfer
0-disable, 1-enable.
fifo_mode_control [ 8 : 11 ] - How full of the fifo before transfer
start. HW specific.
flow_control_mode [ 12 ] - 0-source request served upon data
availability.
1-source request postponed until
destination request happens.
reserved [ 13 : 15 ]
|
| uint32_t dma_block_config::block_size |
| uint16_t dma_block_config::dest_addr_adj |
| uint32_t dma_block_config::dest_address |
| uint16_t dma_block_config::dest_reload_en |
| uint16_t dma_block_config::dest_scatter_count |
| uint16_t dma_block_config::dest_scatter_en |
| uint32_t dma_block_config::dest_scatter_interval |
| uint16_t dma_block_config::fifo_mode_control |
| uint16_t dma_block_config::flow_control_mode |
| struct dma_block_config* dma_block_config::next_block |
| uint16_t dma_block_config::reserved |
| uint16_t dma_block_config::source_addr_adj |
| uint32_t dma_block_config::source_address |
| uint16_t dma_block_config::source_gather_count |
| uint16_t dma_block_config::source_gather_en |
| uint32_t dma_block_config::source_gather_interval |
| uint16_t dma_block_config::source_reload_en |