XilinxProcessorIPLib/drivers/v_sdirx/src/xv_sdirx.c
void XV_SdiRx_EnableMode(XV_SdiRx *InstancePtr,
				XV_SdiRx_SupportedModes SupportModes)
{
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(SupportModes <= XV_SDIRX_SUPPORT_ALL);
	/* Following assertions make sure the IP is configured with in the
	 * subcore GUI parameter limit
	 */
	Xil_AssertVoid(!((InstancePtr->Config.MaxRateSupported == XSDIRX_LINE_RATE_3G) &&
			(SupportModes & (XV_SDIRX_SUPPORT_6G |
			XV_SDIRX_SUPPORT_12GI | XV_SDIRX_SUPPORT_12GF))));
	Xil_AssertVoid(!((InstancePtr->Config.MaxRateSupported == XSDIRX_LINE_RATE_6G) &&
			(SupportModes & (XV_SDIRX_SUPPORT_12GI | XV_SDIRX_SUPPORT_12GF))));

	InstancePtr->SupportedModes |= SupportModes;
}
/*****************************************************************************/
/**
*
* This function enables the modes which the SDI RX core will try to lock on.
*
* @param	InstancePtr is a pointer to the XV_SdiRx core instance.
* @param	SupportModes specifies which SDI mode is to be supported from SDI
*			mode detection logic.
*
* @return	None.
*
* @note		XV_SDIRX_MULTISEARCHMODE must be selected in the XV_SdiRx_Start
*			function.
*
******************************************************************************/
This function enables the modes which the SDI RX core will try to lock on.
This function enables the modes which the SDI RX core will try to lock on .
void XV_SdiRx_EnableMode(XV_SdiRx *InstancePtr,
				XV_SdiRx_SupportedModes SupportModes)
{
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(SupportModes <= XV_SDIRX_SUPPORT_ALL);
	Xil_AssertVoid(!((InstancePtr->Config.MaxRateSupported == XSDIRX_LINE_RATE_3G) &&
			(SupportModes & (XV_SDIRX_SUPPORT_6G |
			XV_SDIRX_SUPPORT_12GI | XV_SDIRX_SUPPORT_12GF))));
	Xil_AssertVoid(!((InstancePtr->Config.MaxRateSupported == XSDIRX_LINE_RATE_6G) &&
			(SupportModes & (XV_SDIRX_SUPPORT_12GI | XV_SDIRX_SUPPORT_12GF))));
	InstancePtr->SupportedModes |= SupportModes;
}
void XV_SdiRx_EnableMode ( XV_SdiRx * InstancePtr , XV_SdiRx_SupportedModes SupportModes ) { Xil_AssertVoid ( InstancePtr != NULL ) ; Xil_AssertVoid ( SupportModes <= XV_SDIRX_SUPPORT_ALL ) ; Xil_AssertVoid ( ! ( ( InstancePtr -> Config . MaxRateSupported == XSDIRX_LINE_RATE_3G ) && ( SupportModes & ( XV_SDIRX_SUPPORT_6G | XV_SDIRX_SUPPORT_12GI | XV_SDIRX_SUPPORT_12GF ) ) ) ) ; Xil_AssertVoid ( ! ( ( InstancePtr -> Config . MaxRateSupported == XSDIRX_LINE_RATE_6G ) && ( SupportModes & ( XV_SDIRX_SUPPORT_12GI | XV_SDIRX_SUPPORT_12GF ) ) ) ) ; InstancePtr -> SupportedModes |= SupportModes ; }
This function enables the modes which the SDI RX core will try to lock on.
This function enables the modes which the SDI RX core will try to lock on .
/* Following assertions make sure the IP is configured with in the
	 * subcore GUI parameter limit
	 */