![]() |
zdma
Vitis Drivers API Documentation
|
#include "xzdma.h"#include "xparameters.h"#include "xinterrupt_wrap.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_LinearExample (UINTPTR BaseAddress) |
| This function does a test of the data transfer in linear 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 | DstBuf [256] |
| Destination buffer. More... | |
| u32 | SrcBuf [256] |
| Source buffer. More... | |
| u32 | Dst1Buf [256] |
| Destination buffer. More... | |
| u32 | Src1Buf [256] |
| Source buffer. More... | |
| u32 | AlloMem [256] |
| memory allocated for descriptors More... | |