axivdma
Xilinx SDK Drivers API Documentation
xaxivdma_example_selftest.c File Reference

Overview

MODIFICATION HISTORY:
Ver   Who  Date     Changes

6.2 ms 01/23/17 Modified xil_printf statement in main function to ensure that "Successfully ran" and "Failed" strings are available in all examples. This is a fix for CR-965028. ms 04/05/17 Modified Comment lines in functions to recognize it as documentation block for doxygen generation of examples.

Functions

int AxiVDMASelfTestExample (u16 DeviceId)
 This function performance a reset of the VDMA device and checks the device is coming out of reset or not. More...
 
int main ()
 The entry point for this example. More...
 

Function Documentation

◆ AxiVDMASelfTestExample()

int AxiVDMASelfTestExample ( u16  DeviceId)

This function performance a reset of the VDMA device and checks the device is coming out of reset or not.

Parameters
DeviceIdis the DMA device id.
Returns
  • XST_SUCCESS if channel reset is successful
  • XST_FAILURE if channel reset fails.
Note
None.

References XAxiVdma_Config::BaseAddress, XAxiVdma_CfgInitialize(), XAxiVdma_LookupConfig(), and XAxiVdma_Selftest().

Referenced by main().

◆ main()

int main ( void  )

The entry point for this example.

It invokes the example function, and reports the execution status.

Parameters
None.
Returns
  • XST_SUCCESS if example finishes successfully
  • XST_FAILURE if example fails.
Note
None.

References AxiVDMASelfTestExample().