axicdma
Vitis Drivers API Documentation
 All Data Structures Files Functions Variables Typedefs Groups Pages
xaxicdma_example_simple_poll.c File Reference
#include "xaxicdma.h"
#include "xdebug.h"
#include "xil_cache.h"
#include "xparameters.h"
#include "xil_util.h"

Macros

#define AXICDMA_BASE_ADDR   XPAR_XAXICDMA_0_BASEADDR
 Base address of the AXI CDMA device under test. More...
 
#define BUFFER_BYTESIZE   64
 Length in bytes of the source and destination DMA buffers. More...
 
#define NUMBER_OF_TRANSFERS   4
 Number of simple transfers to run in this test. More...
 
#define RESET_LOOP_COUNT   10
 Number of times to poll for reset completion. More...
 
#define POLL_TIMEOUT_COUNTER   1000000U
 Maximum poll iterations before a transfer times out. More...
 

Functions

void xil_printf (const char *format,...)
 Prints a formatted message when DEBUG is not defined. More...
 
int XAxiCdma_SimplePollExample (XAxiCdma *InstancePtr, UINTPTR BaseAddress)
 Demonstrates simple transfer through polling. More...
 
int main (void)
 Runs the example entry point, sets up UART16550 if available, invokes the example function, and reports the execution status. More...