XilinxProcessorIPLib/drivers/v_hdmiphy1/src/xhdmiphy1_hdmi.c
u16 XHdmiphy1_DruGetVersion(XHdmiphy1 *InstancePtr)
{
	u32 RegVal;

	RegVal = XHdmiphy1_ReadReg(InstancePtr->Config.BaseAddr,
			XHDMIPHY1_DRU_STAT_REG);
	RegVal &= XHDMIPHY1_DRU_STAT_VERSION_MASK;
	RegVal >>= XHDMIPHY1_DRU_STAT_VERSION_SHIFT;

	return ((u16)RegVal);
}
/*****************************************************************************/
/**
* This function gets the DRU version
*
* @param	InstancePtr is a pointer to the XHdmiphy1 core instance.
*
* @return	None.
*
******************************************************************************/
This function gets the DRU version
This function gets the DRU version
u16 XHdmiphy1_DruGetVersion(XHdmiphy1 *InstancePtr)
{
	u32 RegVal;
	RegVal = XHdmiphy1_ReadReg(InstancePtr->Config.BaseAddr,
			XHDMIPHY1_DRU_STAT_REG);
	RegVal &= XHDMIPHY1_DRU_STAT_VERSION_MASK;
	RegVal >>= XHDMIPHY1_DRU_STAT_VERSION_SHIFT;
	return ((u16)RegVal);
}
u16 XHdmiphy1_DruGetVersion ( XHdmiphy1 * InstancePtr ) { u32 RegVal ; RegVal = XHdmiphy1_ReadReg ( InstancePtr -> Config . BaseAddr , XHDMIPHY1_DRU_STAT_REG ) ; RegVal &= XHDMIPHY1_DRU_STAT_VERSION_MASK ; RegVal >>= XHDMIPHY1_DRU_STAT_VERSION_SHIFT ; return ( ( u16 ) RegVal ) ; }
This function gets the DRU version
This function gets the DRU version