Astra SRSDK Peripheral Driver Library
 
Loading...
Searching...
No Matches
sdio_cmd_config_t Struct Reference

SD Host command configuration structure. More...

#include <sdio.h>

Data Fields

uint32_t commandIndex
 
uint32_t commandArgument
 
bool enableCrcCheck
 
bool enableAutoResponseErrorCheck
 
sdio_response_type_en respType
 
bool enableIdxCheck
 
bool dataPresent
 
sdio_cmd_type_en cmdType
 

Detailed Description

SD Host command configuration structure.

Field Documentation

◆ commandIndex

uint32_t sdio_cmd_config_t::commandIndex

The index of the command to be sent (e.g., 0 for CMD0).

◆ commandArgument

uint32_t sdio_cmd_config_t::commandArgument

The argument for the command, specific to each command.

◆ enableCrcCheck

bool sdio_cmd_config_t::enableCrcCheck

Enables or disables CRC check on the command response.

◆ enableAutoResponseErrorCheck

bool sdio_cmd_config_t::enableAutoResponseErrorCheck

If true, hardware automatically checks the response for errors.

◆ respType

sdio_response_type_en sdio_cmd_config_t::respType

The expected response type (e.g., R1, R2, R3, R6, R7).

◆ enableIdxCheck

bool sdio_cmd_config_t::enableIdxCheck

Enables or disables index check of the response.

◆ dataPresent

bool sdio_cmd_config_t::dataPresent

True if data transfer is expected on DAT lines; false for CMD-only operations.

◆ cmdType

sdio_cmd_type_en sdio_cmd_config_t::cmdType

The type of command (Normal, Suspend, Resume, Abort).