dphy
Vitis Drivers API Documentation
xdphy_example_selftest.c File Reference

Overview

MODIFICATION HISTORY:
Ver   Who       Date     Changes


1.1 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

u32 DphySelfTestExample (u32 DeviceId)
 This function checks if the HS_TIMEOUT from the generated file matches the value present in the corresponding configuration register. More...
 
int main ()
 The entry point for this example. More...
 

Function Documentation

u32 DphySelfTestExample ( u32  DeviceId)

This function checks if the HS_TIMEOUT from the generated file matches the value present in the corresponding configuration register.

Parameters
DeviceIdis the DPHY device id.
Returns
  • XST_SUCCESS if values match
  • XST_FAILURE if values differ.
Note
None.

References XDphy_Config::BaseAddr, XDphy_CfgInitialize(), XDphy_GetRegIntfcPresent(), XDphy_LookupConfig(), and XDphy_SelfTest().

Referenced by main().

int main ( )

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