/* Set the fields of structure stc_dvp_init_t to default values.  */
int32_t DVP_StructInit(stc_dvp_init_t *pstcDvpInit)
/* Set the fields of structure stc_dvp_init_t to default values.  */
int32_t DVP_StructInit(stc_dvp_init_t *pstcDvpInit)
{
    int32_t i32Ret = LL_ERR_INVD_PARAM;
    if (NULL != pstcDvpInit) {
        pstcDvpInit->u32SyncMode       = DVP_SYNC_MD_HW;
        pstcDvpInit->u32DataWidth      = DVP_DATA_WIDTH_8BIT;
        pstcDvpInit->u32CaptureMode    = DVP_CAPT_MD_CONTINUOS_FRAME;
        pstcDvpInit->u32CaptureFreq    = DVP_CAPT_FREQ_ALL_FRAME;
        pstcDvpInit->u32PIXCLKPolarity = DVP_PIXCLK_FALLING;
        pstcDvpInit->u32HSYNCPolarity  = DVP_HSYNC_LOW;
        pstcDvpInit->u32VSYNCPolarity  = DVP_VSYNC_LOW;
        i32Ret = LL_OK;
    }
    return i32Ret;
}