|
SemiDrive SSDK Appication Program Interface PTG3.0
|
#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 |
| uint32_t argument |
Command argument
| uint32_t cmd23_support |
If card supports cmd23
| uint16_t cmd_index |
Command index
| uint32_t cmd_retry |
Retry the command, if card is busy
| uint64_t cmd_timeout |
Command timeout in us
| uint8_t cmd_type |
command type
| struct mmc_data data |
Data pointer
| uint8_t data_present |
Command has data
| uint32_t error |
| uint32_t resp[4] |
128 bit response value
| uint16_t resp_type |
Response type of the command
| uint32_t retries |
| uint32_t trans_mode |
Transfer mode, read/write
| bool write_flag |
Write flag, for reliable write cases