mipi_tx_phy
Vitis Drivers API Documentation
xmipi_tx_phy_example_selftest.c File Reference

Overview

MODIFICATION HISTORY:
Ver   Who       Date     Changes


1.1 pg 16/02/24 Initial release - Application initializes mipi_tx_phy and ensures register reads and writes are good.

Functions

u32 Mipi_Tx_PhySelfTestExample (UINTPTR BaseAddress)
 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

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

u32 Mipi_Tx_PhySelfTestExample ( UINTPTR  BaseAddress)

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

Parameters
BaseAddressis the Mipi_Tx_Phy BaseAddress.
Returns
  • XST_SUCCESS if values match
  • XST_FAILURE if values differ.
Note
None.

References XMipi_Tx_Phy_Config::BaseAddr, XMipi_Tx_Phy_CfgInitialize(), XMipi_Tx_Phy_GetRegIntfcPresent(), XMipi_Tx_Phy_LookupConfig(), and XMipi_Tx_Phy_SelfTest().

Referenced by main().