SemiDrive SSDK Appication Program Interface PTG3.0
Data Fields
mmc_command

#include <sdrv_sdhci.h>

Data Fields

uint16_t cmd_index
 
uint32_t argument
 
uint8_t data_present
 
uint8_t cmd_type
 
uint16_t resp_type
 
uint32_t resp [4]
 
uint32_t trans_mode
 
uint32_t cmd_retry
 
uint32_t cmd23_support
 
uint64_t cmd_timeout
 
bool write_flag
 
struct mmc_data data
 

Field Documentation

◆ argument

uint32_t argument

Command argument

◆ cmd23_support

uint32_t cmd23_support

If card supports cmd23

◆ cmd_index

uint16_t cmd_index

Command index

◆ cmd_retry

uint32_t cmd_retry

Retry the command, if card is busy

◆ cmd_timeout

uint64_t cmd_timeout

Command timeout in us

◆ cmd_type

uint8_t cmd_type

command type

◆ data

struct mmc_data data

Data pointer

◆ data_present

uint8_t data_present

Command has data

◆ error

uint32_t error

◆ resp

uint32_t resp[4]

128 bit response value

◆ resp_type

uint16_t resp_type

Response type of the command

◆ retries

uint32_t retries

◆ trans_mode

uint32_t trans_mode

Transfer mode, read/write

◆ write_flag

bool write_flag

Write flag, for reliable write cases


The documentation for this struct was generated from the following file: