XilinxProcessorIPLib/drivers/dp14txss/examples/src/tx_only/xvidframe_crc.c
void XVidFrameCrc_Reset(void)
{
	u32 RegVal;

	/* Read Config Register */
	RegVal = XVidFrameCrc_ReadReg(XPAR_VIDEO_FRAME_CRC_BASEADDR,
				VIDEO_FRAME_CRC_CONFIG);

	/* Toggle CRC Clear Bit */
	XVidFrameCrc_WriteReg(XPAR_VIDEO_FRAME_CRC_BASEADDR,
			VIDEO_FRAME_CRC_CONFIG,
			(RegVal | VIDEO_FRAME_CRC_CLEAR));
	XVidFrameCrc_WriteReg(XPAR_VIDEO_FRAME_CRC_BASEADDR,
			VIDEO_FRAME_CRC_CONFIG,
			(RegVal & ~VIDEO_FRAME_CRC_CLEAR));

}
/*****************************************************************************/
/**
*
* This function is used to initialize the Video Frame CRC instance.
*
* @param    None
*
* @return   - XST_SUCCESS or XST_FAILURE
*
* @note	    None.
*
******************************************************************************/
This function is used to initialize the Video Frame CRC instance.
This function is used to initialize the Video Frame CRC instance .
void XVidFrameCrc_Reset(void)
{
	u32 RegVal;
	RegVal = XVidFrameCrc_ReadReg(XPAR_VIDEO_FRAME_CRC_BASEADDR,
				VIDEO_FRAME_CRC_CONFIG);
	XVidFrameCrc_WriteReg(XPAR_VIDEO_FRAME_CRC_BASEADDR,
			VIDEO_FRAME_CRC_CONFIG,
			(RegVal | VIDEO_FRAME_CRC_CLEAR));
	XVidFrameCrc_WriteReg(XPAR_VIDEO_FRAME_CRC_BASEADDR,
			VIDEO_FRAME_CRC_CONFIG,
			(RegVal & ~VIDEO_FRAME_CRC_CLEAR));
}
void XVidFrameCrc_Reset ( void ) { u32 RegVal ; RegVal = XVidFrameCrc_ReadReg ( XPAR_VIDEO_FRAME_CRC_BASEADDR , VIDEO_FRAME_CRC_CONFIG ) ; XVidFrameCrc_WriteReg ( XPAR_VIDEO_FRAME_CRC_BASEADDR , VIDEO_FRAME_CRC_CONFIG , ( RegVal | VIDEO_FRAME_CRC_CLEAR ) ) ; XVidFrameCrc_WriteReg ( XPAR_VIDEO_FRAME_CRC_BASEADDR , VIDEO_FRAME_CRC_CONFIG , ( RegVal & ~ VIDEO_FRAME_CRC_CLEAR ) ) ; }
This function is used to initialize the Video Frame CRC instance.
This function is used to initialize the Video Frame CRC instance .
/* Read Config Register */ /* Toggle CRC Clear Bit */