XilinxProcessorIPLib/drivers/v_hdmiphy1/src/xhdmiphy1_hdmi.c
void XHdmiphy1_PatgenEnable(XHdmiphy1 *InstancePtr, u8 QuadId, u8 Enable)
{
	u32 RegVal;

	/* Suppress Warning Messages */
    QuadId = QuadId;

	RegVal = XHdmiphy1_ReadReg(InstancePtr->Config.BaseAddr,
							XHDMIPHY1_PATGEN_CTRL_REG);

	if (Enable) {
		RegVal |= XHDMIPHY1_PATGEN_CTRL_ENABLE_MASK;
	}
	else {
		RegVal &= ~XHDMIPHY1_PATGEN_CTRL_ENABLE_MASK;
	}

	XHdmiphy1_WriteReg(InstancePtr->Config.BaseAddr,
						XHDMIPHY1_PATGEN_CTRL_REG, RegVal);
}
/*****************************************************************************/
/**
* This function enables or disables the Pattern Generator for the GT Channel 4
* when it isused to generate the TX TMDS Clock.
*
* @param	InstancePtr is a pointer to the XHdmiphy1 core instance.
* @param	QuadId is the GT quad ID to operate on.
* @param	Enable TRUE/FALSE
*
* @return	None.
*
******************************************************************************/
This function enables or disables the Pattern Generator for the GT Channel 4
when it isused to generate the TX TMDS Clock.
This function enables or disables the Pattern Generator for the GT Channel 4 when it isused to generate the TX TMDS Clock .
void XHdmiphy1_PatgenEnable(XHdmiphy1 *InstancePtr, u8 QuadId, u8 Enable)
{
	u32 RegVal;
    QuadId = QuadId;
	RegVal = XHdmiphy1_ReadReg(InstancePtr->Config.BaseAddr,
							XHDMIPHY1_PATGEN_CTRL_REG);
	if (Enable) {
		RegVal |= XHDMIPHY1_PATGEN_CTRL_ENABLE_MASK;
	}
	else {
		RegVal &= ~XHDMIPHY1_PATGEN_CTRL_ENABLE_MASK;
	}
	XHdmiphy1_WriteReg(InstancePtr->Config.BaseAddr,
						XHDMIPHY1_PATGEN_CTRL_REG, RegVal);
}
void XHdmiphy1_PatgenEnable ( XHdmiphy1 * InstancePtr , u8 QuadId , u8 Enable ) { u32 RegVal ; QuadId = QuadId ; RegVal = XHdmiphy1_ReadReg ( InstancePtr -> Config . BaseAddr , XHDMIPHY1_PATGEN_CTRL_REG ) ; if ( Enable ) { RegVal |= XHDMIPHY1_PATGEN_CTRL_ENABLE_MASK ; } else { RegVal &= ~ XHDMIPHY1_PATGEN_CTRL_ENABLE_MASK ; } XHdmiphy1_WriteReg ( InstancePtr -> Config . BaseAddr , XHDMIPHY1_PATGEN_CTRL_REG , RegVal ) ; }
This function enables or disables the Pattern Generator for the GT Channel 4
when it isused to generate the TX TMDS Clock.
This function enables or disables the Pattern Generator for the GT Channel 4 when it isused to generate the TX TMDS Clock .
/* Suppress Warning Messages */