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

Macros

#define SIZE   100
 Size of the data to be transferred. 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_SimpleReadOnlyExample (UINTPTR BaseAddress)
 This function does a test of the data transfer in simple mode of read only 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...
 
u32 SrcBuf [256]
 Source buffer. More...