Transfer descriptor. More...

Detailed Description

Transfer descriptor.

The transfer descriptor hold all information about a transfer such as the block size and the number of block.

Definition at line 898 of file sdmmc.h.

#include <sdmmc.h>

Data Fields

sdmmc_xfer_type_t type
 Type of the transfer. More...
 
bool write
 Indicate a write transfer. More...
 
sdmmc_cmd_t cmd_idx
 Command index used for the transfer. More...
 
sdmmc_resp_t resp_type
 Type of expected response for the transfer. More...
 
uint32_t arg
 Command argument used for the transfer. More...
 
uint16_t block_size
 Size of a block or number of bytes for Byte transfer. More...
 
uint16_t block_num
 Number of blocks to be transferred, 1 for Byte transfer. More...
 

Field Documentation

◆ arg

uint32_t sdmmc_xfer_desc_t::arg

Command argument used for the transfer.

Definition at line 903 of file sdmmc.h.

◆ block_num

uint16_t sdmmc_xfer_desc_t::block_num

Number of blocks to be transferred, 1 for Byte transfer.

Definition at line 905 of file sdmmc.h.

◆ block_size

uint16_t sdmmc_xfer_desc_t::block_size

Size of a block or number of bytes for Byte transfer.

Definition at line 904 of file sdmmc.h.

◆ cmd_idx

sdmmc_cmd_t sdmmc_xfer_desc_t::cmd_idx

Command index used for the transfer.

Definition at line 901 of file sdmmc.h.

◆ resp_type

sdmmc_resp_t sdmmc_xfer_desc_t::resp_type

Type of expected response for the transfer.

Definition at line 902 of file sdmmc.h.

◆ type

sdmmc_xfer_type_t sdmmc_xfer_desc_t::type

Type of the transfer.

Definition at line 899 of file sdmmc.h.

◆ write

bool sdmmc_xfer_desc_t::write

Indicate a write transfer.

Definition at line 900 of file sdmmc.h.


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