XilinxProcessorIPLib/drivers/v_sdirx/src/xv_sdirx.c
u32 XV_SdiRx_GetSdiMode(XV_SdiRx *InstancePtr)
{
	u32 RegValue;

	/* Verify arguments. */
	Xil_AssertNonvoid(InstancePtr != NULL);

	RegValue = XV_SdiRx_ReadReg(InstancePtr->Config.BaseAddress,
					(XV_SDIRX_MODE_DET_STS_OFFSET));

	return RegValue & XV_SDIRX_MODE_DET_STS_MODE_MASK;
}
/*****************************************************************************/
/**
*
* This function returns the current SDI transport mode detected.
*
* @param	InstancePtr is a pointer to the XV_SdiRx core instance.
*
* @return	SDI transport mode
*
* @note		None.
*
******************************************************************************/
This function returns the current SDI transport mode detected.
This function returns the current SDI transport mode detected .
u32 XV_SdiRx_GetSdiMode(XV_SdiRx *InstancePtr)
{
	u32 RegValue;
	Xil_AssertNonvoid(InstancePtr != NULL);
	RegValue = XV_SdiRx_ReadReg(InstancePtr->Config.BaseAddress,
					(XV_SDIRX_MODE_DET_STS_OFFSET));
	return RegValue & XV_SDIRX_MODE_DET_STS_MODE_MASK;
}
u32 XV_SdiRx_GetSdiMode ( XV_SdiRx * InstancePtr ) { u32 RegValue ; Xil_AssertNonvoid ( InstancePtr != NULL ) ; RegValue = XV_SdiRx_ReadReg ( InstancePtr -> Config . BaseAddress , ( XV_SDIRX_MODE_DET_STS_OFFSET ) ) ; return RegValue & XV_SDIRX_MODE_DET_STS_MODE_MASK ; }
This function returns the current SDI transport mode detected.
This function returns the current SDI transport mode detected .
/* Verify arguments. */