v_sdirx
Xilinx SDK Drivers API Documentation
Xv_sdirx_v1_1

Functions

u32 XV_SdiRx_SelfTest (XV_SdiRx *InstancePtr)
 Runs a self-test on the driver/device. More...
 

Function Documentation

u32 XV_SdiRx_SelfTest ( XV_SdiRx InstancePtr)

Runs a self-test on the driver/device.

This test checks if the LaneCount present in register matches the one from the generated file.

Parameters
InstancePtris a pointer to the XV_SdiRx instance.
Returns
  • XST_SUCCESS if self-test was successful
  • XST_FAILURE if the read value was not equal to _g.c file
Note
None

References XV_SdiRx_Config::BaseAddress, XV_SdiRx::Config, XV_SdiRx::IsReady, XV_SdiRx_ReadReg, and XV_SdiRx_Stop().

Referenced by XV_SdiRxSelfTestExample().