v_sditx: Xv_sditx_v1_1

| v_sditx Xilinx SDK Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List
- Examples

Functions
Xv_sditx_v1_1

## Functions
u32 | XV_SdiTx_SelfTest (XV_SdiTx *InstancePtr)
| Runs a self-test on the driver/device. More...

## Function Documentation

u32 XV_SdiTx_SelfTest | ( | XV_SdiTx * | InstancePtr | ) |

Runs a self-test on the driver/device.

This test checks if the mode control register valus have the default values.

Parameters

  InstancePtr | is a pointer to the XV_SdiTx 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_SdiTx_Config::BaseAddress, XV_SdiTx::Config, XV_SdiTx::IsReady, XV_SdiTx_ReadReg, and XV_SdiTx_StopSdi().

Referenced by XV_SdiTxSelfTestExample().