zdma
Vitis Drivers API Documentation
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
xzdma_linkedlist_example.c File Reference
#include "xzdma.h"
#include "xparameters.h"
#include "xinterrupt_wrap.h"
#include "bspconfig.h"
#include "xil_util.h"
#include "xplatform_info.h"

Macros

#define TESTDATA1   0xABCD1230
 Test data. More...
 
#define TESTDATA2   0x00005000
 Test data. More...
 
#define DESCRIPTOR1_DATA_SIZE   1024
 Descriptor 1 data in bytes. More...
 
#define DESCRIPTOR2_DATA_SIZE   64
 Descriptor 2 data in bytes. More...
 
#define POLL_TIMEOUT_COUNTER   1000000U
 Maximum poll iterations while waiting for a DMA event. More...
 
#define NUM_OF_EVENTS   1
 Number of events to wait for in Xil_WaitForEventSet. More...
 

Functions

int XZDma_LinkedListExample (UINTPTR BaseAddress)
 This function does a test of the data transfer in linked mode on the ZDMA driver. More...
 
int main (void)
 Main function to call the example. More...
 

Variables

XZDma ZDma
 Instance of the ZDMA Device. More...