XilinxProcessorIPLib/drivers/dp12rxss/examples/src/zcu_rx/xdprxss_zcu102_rxonly.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);

    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);
    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 ) ; 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
    */