XilinxProcessorIPLib/drivers/hdcp1x/src/xhdcp1x_cipher.c
u32 XHdcp1x_CipherGetVersion(const XHdcp1x *InstancePtr)
{
	u32 Version = 0;

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

	/* Determine Version */
	Version = XHdcp1x_ReadReg(InstancePtr->Config.BaseAddress,
		XHDCP1X_CIPHER_REG_VERSION);

	return (Version);
}
/*****************************************************************************/
/**
* This function reads the version of the HDCP cipher core.
*
* @param	InstancePtr is the device to query.
*
* @return	The version of the HDCP cipher device.
*
* @note		None.
*
******************************************************************************/
This function reads the version of the HDCP cipher core.
This function reads the version of the HDCP cipher core .
u32 XHdcp1x_CipherGetVersion(const XHdcp1x *InstancePtr)
{
	u32 Version = 0;
	Xil_AssertNonvoid(InstancePtr != NULL);
	Version = XHdcp1x_ReadReg(InstancePtr->Config.BaseAddress,
		XHDCP1X_CIPHER_REG_VERSION);
	return (Version);
}
u32 XHdcp1x_CipherGetVersion ( const XHdcp1x * InstancePtr ) { u32 Version = 0 ; Xil_AssertNonvoid ( InstancePtr != NULL ) ; Version = XHdcp1x_ReadReg ( InstancePtr -> Config . BaseAddress , XHDCP1X_CIPHER_REG_VERSION ) ; return ( Version ) ; }
This function reads the version of the HDCP cipher core.
This function reads the version of the HDCP cipher core .
/* Verify arguments. */ /* Determine Version */