XilinxProcessorIPLib/drivers/v_sditx/src/xv_sditx.c
void XV_SdiTx_ST352CSwitch3GA(XV_SdiTx *InstancePtr)
{
	u32 Data;

	Data = XV_SdiTx_ReadReg(InstancePtr->Config.BaseAddress,
				XV_SDITX_MDL_CTRL_OFFSET);
	Xil_AssertVoid(Data & XV_SDITX_MDL_CTRL_C_ST352_MASK);
	Data = XV_SdiTx_ReadReg(InstancePtr->Config.BaseAddress,
				XV_SDITX_MDL_CTRL_OFFSET);
	Data |= XV_SDITX_MDL_CTRL_C_ST352_SWITCH_3GA_MASK;

	XV_SdiTx_WriteReg((InstancePtr)->Config.BaseAddress,
			   XV_SDITX_MDL_CTRL_OFFSET,
			   Data);
}
/*****************************************************************************/
/**
*
* This function enables the ST352 value to be used from DS2 instead of DS3 register
* in C stream of the SDI TX Ss core.
*
* @param	InstancePtr is a pointer to the XV_SdiTx core instance.
*
* @return       None.
*
* @note		None.
*
******************************************************************************/
This function enables the ST352 value to be used from DS2 instead of DS3 register
in C stream of the SDI TX Ss core.
This function enables the ST352 value to be used from DS2 instead of DS3 register in C stream of the SDI TX Ss core .
void XV_SdiTx_ST352CSwitch3GA(XV_SdiTx *InstancePtr)
{
	u32 Data;
	Data = XV_SdiTx_ReadReg(InstancePtr->Config.BaseAddress,
				XV_SDITX_MDL_CTRL_OFFSET);
	Xil_AssertVoid(Data & XV_SDITX_MDL_CTRL_C_ST352_MASK);
	Data = XV_SdiTx_ReadReg(InstancePtr->Config.BaseAddress,
				XV_SDITX_MDL_CTRL_OFFSET);
	Data |= XV_SDITX_MDL_CTRL_C_ST352_SWITCH_3GA_MASK;
	XV_SdiTx_WriteReg((InstancePtr)->Config.BaseAddress,
			   XV_SDITX_MDL_CTRL_OFFSET,
			   Data);
}
void XV_SdiTx_ST352CSwitch3GA ( XV_SdiTx * InstancePtr ) { u32 Data ; Data = XV_SdiTx_ReadReg ( InstancePtr -> Config . BaseAddress , XV_SDITX_MDL_CTRL_OFFSET ) ; Xil_AssertVoid ( Data & XV_SDITX_MDL_CTRL_C_ST352_MASK ) ; Data = XV_SdiTx_ReadReg ( InstancePtr -> Config . BaseAddress , XV_SDITX_MDL_CTRL_OFFSET ) ; Data |= XV_SDITX_MDL_CTRL_C_ST352_SWITCH_3GA_MASK ; XV_SdiTx_WriteReg ( ( InstancePtr ) -> Config . BaseAddress , XV_SDITX_MDL_CTRL_OFFSET , Data ) ; }
This function enables the ST352 value to be used from DS2 instead of DS3 register
in C stream of the SDI TX Ss core.
This function enables the ST352 value to be used from DS2 instead of DS3 register in C stream of the SDI TX Ss core .