XilinxProcessorIPLib/drivers/v_hdmitxss/examples/xhdmi_example/I2S/xhdmi_example.c
void SetHdmiRxHpd(XVphy *VphyPtr, XV_HdmiRxSs *HdmiRxSsPtr, u8 Hpd) {
	if (Hpd == TRUE) {
		XV_HdmiRxSs_Start(HdmiRxSsPtr);
		XVphy_IBufDsEnable(VphyPtr, 0, XVPHY_DIR_RX, (TRUE));
	} else {
		XVphy_MmcmPowerDown(VphyPtr, 0, XVPHY_DIR_RX, FALSE);
		XVphy_Clkout1OBufTdsEnable(VphyPtr, XVPHY_DIR_RX, (FALSE));
		XVphy_IBufDsEnable(VphyPtr, 0, XVPHY_DIR_RX, (FALSE));
		XV_HdmiRxSs_Stop(HdmiRxSsPtr);
	}
}
/*****************************************************************************/
/**
*
* This function sets the HPD on the HDMI RXSS.
*
* @param  VphyPtr is a pointer to the VPHY instance.
* @param  HdmiRxSsPtr is a pointer to the HDMI RX Subsystem instance.
* @param  Value is a flag used to set the HPD.
*   - TRUE drives HPD high
*   - FALSE drives HPD low
*
* @return None.
*
* @note   None.
*
******************************************************************************/
This function sets the HPD on the HDMI RXSS.
This function sets the HPD on the HDMI RXSS .
void SetHdmiRxHpd(XVphy *VphyPtr, XV_HdmiRxSs *HdmiRxSsPtr, u8 Hpd) {
	if (Hpd == TRUE) {
		XV_HdmiRxSs_Start(HdmiRxSsPtr);
		XVphy_IBufDsEnable(VphyPtr, 0, XVPHY_DIR_RX, (TRUE));
	} else {
		XVphy_MmcmPowerDown(VphyPtr, 0, XVPHY_DIR_RX, FALSE);
		XVphy_Clkout1OBufTdsEnable(VphyPtr, XVPHY_DIR_RX, (FALSE));
		XVphy_IBufDsEnable(VphyPtr, 0, XVPHY_DIR_RX, (FALSE));
		XV_HdmiRxSs_Stop(HdmiRxSsPtr);
	}
}
void SetHdmiRxHpd ( XVphy * VphyPtr , XV_HdmiRxSs * HdmiRxSsPtr , u8 Hpd ) { if ( Hpd == TRUE ) { XV_HdmiRxSs_Start ( HdmiRxSsPtr ) ; XVphy_IBufDsEnable ( VphyPtr , 0 , XVPHY_DIR_RX , ( TRUE ) ) ; } else { XVphy_MmcmPowerDown ( VphyPtr , 0 , XVPHY_DIR_RX , FALSE ) ; XVphy_Clkout1OBufTdsEnable ( VphyPtr , XVPHY_DIR_RX , ( FALSE ) ) ; XVphy_IBufDsEnable ( VphyPtr , 0 , XVPHY_DIR_RX , ( FALSE ) ) ; XV_HdmiRxSs_Stop ( HdmiRxSsPtr ) ; } }
This function sets the HPD on the HDMI RXSS.
This function sets the HPD on the HDMI RXSS .