/* Send the IO_SEND_OP_COND command for inquiring about the voltage range needed by the I/O card.  */
int32_t SDMMC_CMD5_IOSendOperateCond(CM_SDIOC_TypeDef *SDIOCx, uint32_t u32Argument, uint32_t *pu32ErrStatus)
/* Send the IO_SEND_OP_COND command for inquiring about the voltage range needed by the I/O card.  */
int32_t SDMMC_CMD5_IOSendOperateCond(CM_SDIOC_TypeDef *SDIOCx, uint32_t u32Argument, uint32_t *pu32ErrStatus)
{
    int32_t i32Ret;
    stc_sdioc_cmd_config_t stcCmdConfig;
    if (NULL == pu32ErrStatus) {
        i32Ret = LL_ERR_INVD_PARAM;
    } else {
        stcCmdConfig.u32Argument        = u32Argument;
        stcCmdConfig.u16CmdIndex        = SDIOC_CMD5_IO_SEND_OP_COND;
        stcCmdConfig.u16CmdType         = SDIOC_CMD_TYPE_NORMAL;
        stcCmdConfig.u16DataLine        = SDIOC_DATA_LINE_DISABLE;
        stcCmdConfig.u16ResponseType    = SDIOC_RESP_TYPE_R3_R4;
        i32Ret = SDIOC_SendCommand(SDIOCx, &stcCmdConfig);
        if (LL_OK == i32Ret) {
            i32Ret = SDMMC_GetCmdResp4(SDIOCx, pu32ErrStatus);
        }
    }
    return i32Ret;
}