dsitxss
Vitis Drivers API Documentation
xdsitxss_selftest_example.c File Reference

Overview

This file contains a design example using the XDsiTxSs driver.

It performs a self test on the MIPI DSI Tx Subsystem that will test its sub-cores self test functions.

Note
None.
MODIFICATION HISTORY:
Ver Who Date    Changes


1.0 ram 11/2/16 Initial Release for MIPI DSI TX subsystem 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.

Functions

u32 DsiTxSs_SelfTestExample (u32 DeviceId)
 This function is the main entry point for the self test example using the XDsiTxSs driver. More...
 
s32 main ()
 This is the main function for XDsiTxSs self test example. More...
 

Function Documentation

u32 DsiTxSs_SelfTestExample ( u32  DeviceId)

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

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

Parameters
DeviceIdis the unique device ID of the MIPI DSI TX . Subsystem core.
Returns
  • XST_FAILURE if any of MIPI DSI RX Subsystem sub-core self test failed.
  • XST_SUCCESS, if all of MIPI DSI RX Subsystem sub-core self test passed.
Note
None.

References XDsiTxSs_Config::BaseAddr, XDsiTxSs_CfgInitialize(), XDsiTxSs_LookupConfig(), and XDsiTxSs_SelfTest().

Referenced by main().

s32 main ( )

This is the main function for XDsiTxSs 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 DsiTxSs_SelfTestExample().