Software Drivers

xdptx_selftest.c File Reference


Detailed Description

This file contains a diagnostic self-test function for the XDptx driver.

 MODIFICATION HISTORY:

 Ver   Who  Date     Changes
 ----- ---- -------- -----------------------------------------------
 1.00a als  05/17/14 Initial release.
 

#include "xdptx.h"
#include "xstatus.h"

Functions

u32 XDptx_SelfTest (XDptx *InstancePtr)


Function Documentation

u32 XDptx_SelfTest ( XDptx InstancePtr  ) 

This function runs a self-test on the XDptx driver/device. The test attempts to intialize the DisplayPort TX core, train the main link at the highest common capabilities between the core and the sink, and checks the status of the link after training.

Parameters:
InstancePtr is a pointer to the XDptx instance.
Returns:
  • XST_SUCCESS if the self-test passed. The main link has been trained and established successfully.
  • XST_FAILURE otherwise.

Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.