mipicsiss
Vitis Drivers API Documentation
xcsiss_selftest_example.c File Reference

Overview

This file contains a design example using the XCsiSs driver.

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

Note
None.
MODIFICATION HISTORY:
Ver Who Date     Changes


1.0 vsa 07/29/15 Initial release 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 CsiSs_SelfTestExample (u32 DeviceId)
 This function is the main entry point for the self test example using the XCsiSs driver. More...
 
int main ()
 This is the main function for XCsiSs self test example. More...
 

Function Documentation

u32 CsiSs_SelfTestExample ( u32  DeviceId)

This function is the main entry point for the self test example using the XCsiSs 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 CSI RX Subsystem core.
Returns
  • XST_FAILURE if any of MIPI CSI RX Subsystem sub-core self test failed.
  • XST_SUCCESS, if all of MIPI CSI RX Subsystem sub-core self test passed.
Note
None.

References XCsiSs_Config::BaseAddr, XCsiSs_CfgInitialize(), XCsiSs_LookupConfig(), and XCsiSs_SelfTest().

Referenced by main().

int main ( void  )

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