XilinxProcessorIPLib/drivers/rgb2ycrcb/src/xrgb2ycrcb.c
u32 XRgb2YCrCb_GetVersion(XRgb2YCrCb *InstancePtr)
{
	u32 Version;

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

	/* Read version register */
	Version = XRgb2YCrCb_ReadReg(InstancePtr->Config.BaseAddress,
					(XRGB_VERSION_OFFSET));
	return Version;
}
/*****************************************************************************/
/**
*
* This function facilitates software identification of exact version of the
* RGB2YCrCb hardware (h/w).
*
* @param	InstancePtr is a pointer to the XRgb2YCrCb instance.
*
* @return	Version, contents of a Version register.
*
* @note		None.
*
******************************************************************************/
This function facilitates software identification of exact version of the
RGB2YCrCb hardware (h/w).
This function facilitates software identification of exact version of the RGB2YCrCb hardware ( h / w ) .
u32 XRgb2YCrCb_GetVersion(XRgb2YCrCb *InstancePtr)
{
	u32 Version;
	Xil_AssertNonvoid(InstancePtr != NULL);
	Version = XRgb2YCrCb_ReadReg(InstancePtr->Config.BaseAddress,
					(XRGB_VERSION_OFFSET));
	return Version;
}
u32 XRgb2YCrCb_GetVersion ( XRgb2YCrCb * InstancePtr ) { u32 Version ; Xil_AssertNonvoid ( InstancePtr != NULL ) ; Version = XRgb2YCrCb_ReadReg ( InstancePtr -> Config . BaseAddress , ( XRGB_VERSION_OFFSET ) ) ; return Version ; }
This function facilitates software identification of exact version of the
RGB2YCrCb hardware (h/w).
This function facilitates software identification of exact version of the RGB2YCrCb hardware ( h / w ) .
/* Verify argument. */ /* Read version register */