axivdma: xaxivdma_example_selftest.c File Reference

| axivdma Xilinx SDK Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List
- Examples

Functions
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.
    6.5   rsp  05/12/17 Fix compilation error.Rename macro for dma device id.
                        CR-990803

## 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

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

  DeviceId | is 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().

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().