Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
Xilinx ADMA specifics

Macros

#define XILINX_ADMA_DIR_WRITE_ONLY   (DMA_CHANNEL_DIRECTION_PRIV_START)
 Write-Only mode channel direction.

Detailed Description

Macro Definition Documentation

◆ XILINX_ADMA_DIR_WRITE_ONLY

#define XILINX_ADMA_DIR_WRITE_ONLY   (DMA_CHANNEL_DIRECTION_PRIV_START)

#include <dma_xilinx_adma.h>

Write-Only mode channel direction.

Instead of copying from a real source, the channel repeatedly writes a fixed pattern to the destination address/size.

Set dma_config.channel_direction to this value and point dma_block_config.source_address at an 8-byte (2 x uint32_t) pattern buffer instead of a real source buffer. Not valid together with scatter-gather (multi-block) transfers.