/* This api include polling the status of the bit START_COMMAND, if 0 used as timeout value, then this function will return directly without polling the START_CMD status. param base SDIF peripheral base address. param command configuration collection. param timeout the timeout value of polling START_CMD auto clear status. return command excute status  */
status_t SDIF_SendCommand(SDIF_Type *base, sdif_command_t *cmd, uint32_t timeout)
/* This api include polling the status of the bit START_COMMAND, if 0 used as timeout value, then this function will return directly without polling the START_CMD status. param base SDIF peripheral base address. param command configuration collection. param timeout the timeout value of polling START_CMD auto clear status. return command excute status  */
status_t SDIF_SendCommand(SDIF_Type *base, sdif_command_t *cmd, uint32_t timeout)
{
    assert(NULL != cmd);
    return SDIF_SetCommandRegister(base, SDIF_CMD_CMD_INDEX(cmd->index) | (cmd->flags & (~SDIF_CMD_CMD_INDEX_MASK)),
                                   cmd->argument, timeout);
}