zdma: Examples

| zdma Xilinx SDK Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List
- Examples

Examples

You can refer to the below stated example applications for more details on how to use zdma driver.

# xzdma_selftest_example.c

Contains an example on how to use the XZdma driver directly. This example performs the basic selftest using the driver on the device.

For details, see xzdma_selftest_example.c.

# xzdma_linear_example.c

Contains an example on how to use the XZdma driver directly. This example shows the usage of the driver to do data transfer in linear mode on the device.

For details, see xzdma_linear_example.c.

# xzdma_linkedlist_example.c

Contains an example on how to use the XZdma driver directly. This example shows the usage of the driver to do data transfer in linked mode on the device.

For details, see xzdma_linkedlist_example.c.

# xzdma_readonlymode_example.c

Contains an example on how to use the XZdma driver directly. This example shows the usage of the driver to do simple data read on the device.

For details, see xzdma_readonlymode_example.c.

# xzdma_simple_example.c

Contains an example on how to use the XZdma driver directly. This example shows the usage of the driver to do simple data transfer in normal mode on device for 1MB data transfer.

For details, see xzdma_simple_example.c.

# xzdma_writeonlymode_example.c

Contains an example on how to use the XZdma driver directly. This example shows the usage of the driver to do simple data transfer in Write only mode on the device. In this mode data will be predefined and will be repetitively written into the given address and for given size. For ADMA only 2 words are repeated and for GDMA 4 words are repeated.

For details, see xzdma_writeonlymode_example.c.