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

	InstancePtr->IsStreamUp = FALSE;

	Data = XV_SdiTx_ReadReg(InstancePtr->Config.BaseAddress,
				(XV_SDITX_RST_CTRL_OFFSET));
	Data &= ~XV_SDITX_RST_CTRL_SDITX_SS_EN_MASK;

	XV_SdiTx_WriteReg((InstancePtr)->Config.BaseAddress,
				(XV_SDITX_RST_CTRL_OFFSET),
				(Data));

	return XST_SUCCESS;
}
/*****************************************************************************/
/**
*
* This function disables the SDI TX core.
*
* @param	InstancePtr is a pointer to the XV_SdiTx core instance.
*
* @return
*		- XST_SUCCESS if register write is successfule for SDI stop
*		- XST_FAILURE if SDI stop write is failed
*
* @note		None.
*
******************************************************************************/
This function disables the SDI TX core.
This function disables the SDI TX core .
int XV_SdiTx_StopSdi(XV_SdiTx *InstancePtr)
{
	u32 Data;
	InstancePtr->IsStreamUp = FALSE;
	Data = XV_SdiTx_ReadReg(InstancePtr->Config.BaseAddress,
				(XV_SDITX_RST_CTRL_OFFSET));
	Data &= ~XV_SDITX_RST_CTRL_SDITX_SS_EN_MASK;
	XV_SdiTx_WriteReg((InstancePtr)->Config.BaseAddress,
				(XV_SDITX_RST_CTRL_OFFSET),
				(Data));
	return XST_SUCCESS;
}
int XV_SdiTx_StopSdi ( XV_SdiTx * InstancePtr ) { u32 Data ; InstancePtr -> IsStreamUp = FALSE ; Data = XV_SdiTx_ReadReg ( InstancePtr -> Config . BaseAddress , ( XV_SDITX_RST_CTRL_OFFSET ) ) ; Data &= ~ XV_SDITX_RST_CTRL_SDITX_SS_EN_MASK ; XV_SdiTx_WriteReg ( ( InstancePtr ) -> Config . BaseAddress , ( XV_SDITX_RST_CTRL_OFFSET ) , ( Data ) ) ; return XST_SUCCESS ; }
This function disables the SDI TX core.
This function disables the SDI TX core .