XilinxProcessorIPLib/drivers/dp14rxss/examples/src/rx_only/xdprxss_dp14_rx.c
u32 DpRxSs_PlatformInit(void)
{
	u32 Status;

	/* Initialize CRC & Set default Pixel Mode to 1 */
	XVidFrameCrc_Initialize(&VidFrameCRC);

	/* Initialize Timer */
	Status = XTmrCtr_Initialize(&TmrCtr, XTIMER0_DEVICE_ID);
	if (Status != XST_SUCCESS) {
		xil_printf("ERR:Timer failed to initialize. \r\n");
		return XST_FAILURE;
	}

	XTmrCtr_SetResetValue(&TmrCtr, XTIMER0_DEVICE_ID, TIMER_RESET_VALUE);
	XTmrCtr_Start(&TmrCtr, XTIMER0_DEVICE_ID);

	VideoFMC_Init();
	IDT_8T49N24x_SetClock(XPAR_IIC_0_BASEADDR, I2C_IDT8N49_ADDR,
			      0, 270000000, TRUE);

	return Status;
}
/*****************************************************************************/
/**
*
* This function initialize required platform specific peripherals.
*
* @param    None.
*
* @return
*        - XST_SUCCESS if required peripherals are initialized and
*        configured successfully.
*        - XST_FAILURE, otherwise.
*
* @note        None.
*
******************************************************************************/
This function initialize required platform specific peripherals.
This function initialize required platform specific peripherals .
u32 DpRxSs_PlatformInit(void)
{
	u32 Status;
	XVidFrameCrc_Initialize(&VidFrameCRC);
	Status = XTmrCtr_Initialize(&TmrCtr, XTIMER0_DEVICE_ID);
	if (Status != XST_SUCCESS) {
		xil_printf("ERR:Timer failed to initialize. \r\n");
		return XST_FAILURE;
	}
	XTmrCtr_SetResetValue(&TmrCtr, XTIMER0_DEVICE_ID, TIMER_RESET_VALUE);
	XTmrCtr_Start(&TmrCtr, XTIMER0_DEVICE_ID);
	VideoFMC_Init();
	IDT_8T49N24x_SetClock(XPAR_IIC_0_BASEADDR, I2C_IDT8N49_ADDR,
			      0, 270000000, TRUE);
	return Status;
}
u32 DpRxSs_PlatformInit ( void ) { u32 Status ; XVidFrameCrc_Initialize ( & VidFrameCRC ) ; Status = XTmrCtr_Initialize ( & TmrCtr , XTIMER0_DEVICE_ID ) ; if ( Status != XST_SUCCESS ) { xil_printf ( " \r \n " ) ; return XST_FAILURE ; } XTmrCtr_SetResetValue ( & TmrCtr , XTIMER0_DEVICE_ID , TIMER_RESET_VALUE ) ; XTmrCtr_Start ( & TmrCtr , XTIMER0_DEVICE_ID ) ; VideoFMC_Init ( ) ; IDT_8T49N24x_SetClock ( XPAR_IIC_0_BASEADDR , I2C_IDT8N49_ADDR , 0 , 270000000 , TRUE ) ; return Status ; }
This function initialize required platform specific peripherals.
This function initialize required platform specific peripherals .
/* Initialize CRC & Set default Pixel Mode to 1 */ /* Initialize Timer */