![]() |
csudma
Vitis Drivers API Documentation
|
This file contains an example using the XCsudma driver to do self test on the device.
MODIFICATION HISTORY:
Ver Who Date Changes
1.0 vnsld 22/10/14 First release ms 04/10/17 Modified filename tag to include the file in doxygen examples. 1.2 adk 11/22/17 Added peripheral test app support. 1.14 adk 05/04/23 Added support for system device-tree flow.
Functions | |
int | XCsuDma_SelfTestExample (u16 DeviceId) |
This function does a minimal test on the XCsudma driver. More... | |
int | main (void) |
Main function to call the example. More... | |
Variables | |
XCsuDma | CsuDma |
Instance of the Csu_Dma Device. More... | |
int main | ( | void | ) |
Main function to call the example.
References XCsuDma_SelfTestExample().
int XCsuDma_SelfTestExample | ( | u16 | DeviceId | ) |
This function does a minimal test on the XCsudma driver.
DeviceId | is the XPAR_<CSUDMA Instance>_DEVICE_ID value from xparameters.h. |
References XCsuDma_Config::BaseAddress, XCsuDma_CfgInitialize(), XCsuDma_LookupConfig(), and XCsuDma_SelfTest().
Referenced by main().
XCsuDma CsuDma |
Instance of the Csu_Dma Device.