dp14rxss: xdprxss_selftest_example.c File Reference

| dp14rxss Xilinx SDK Drivers API Documentation

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

Functions
xdprxss_selftest_example.c File Reference

## Overview

This file contains a design example using the XDpRxSs driver.

It performs a self test on the DisplayPort transmitter Subsystem Hierarchical IP that will test its sub-cores self test functions.

Note
  None.

    MODIFICATION HISTORY:

    Ver  Who Date     Changes

    1.00 sha 07/29/15 Initial release.
    4.00 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.

## Functions
u32 | DpRxSs_SelfTestExample (u16 DeviceId)
| This function is the main entry point for the self test example using the XDpRxSs driver. More...
int | main ()
| This is the main function for XDpRxSs self test example. More...

## Function Documentation

u32 DpRxSs_SelfTestExample | ( | u16 | DeviceId | ) |

This function is the main entry point for the self test example using the XDpRxSs driver.

This function check whether or not its sub-core drivers self test functions are in working state.

Parameters

  DeviceId | is the unique device ID of the DisplayPort RX Subsystem core.

Returns
  - XST_FAILURE if any of DisplayPort RX Subsystem sub-core self test failed.
  - XST_SUCCESS, if all of DisplayPort RX Subsystem sub-core self test passed.

Note
  None.

References XDpRxSs_Config::BaseAddress, XDpRxSs_CfgInitialize(), XDpRxSs_LookupConfig(), and XDpRxSs_SelfTest().

Referenced by main().

int main | ( | void |  | ) |

This is the main function for XDpRxSs self test example.

Parameters

  None. |

Returns
  - XST_SUCCESS if the self test example passed.
  - XST_FAILURE if the self test example was unsuccessful.

Note
  None.

References DpRxSs_SelfTestExample().