/* Set the fields of structure stc_sdioc_init_t to default values.  */
int32_t SDIOC_StructInit(stc_sdioc_init_t *pstcSdiocInit)
/* Set the fields of structure stc_sdioc_init_t to default values.  */
int32_t SDIOC_StructInit(stc_sdioc_init_t *pstcSdiocInit)
{
    int32_t i32Ret = LL_OK;
    if (NULL == pstcSdiocInit) {
        i32Ret = LL_ERR_INVD_PARAM;
    } else {
        pstcSdiocInit->u32Mode      = SDIOC_MD_SD;
        pstcSdiocInit->u8CardDetect = SDIOC_CARD_DETECT_CD_PIN_LVL;
        pstcSdiocInit->u8SpeedMode  = SDIOC_SPEED_MD_NORMAL;
        pstcSdiocInit->u8BusWidth   = SDIOC_BUS_WIDTH_1BIT;
        pstcSdiocInit->u16ClockDiv  = SDIOC_CLK_DIV1;
    }
    return i32Ret;
}