PSoC 6 Peripheral Driver Library
cy_stc_sd_host_data_config_t Struct Reference

Description

The SD Host data transfer configuration structure.

Data Fields

uint32_t blockSize
 The size of the data block. More...
 
uint32_t numberOfBlock
 The number of blocks to send. More...
 
bool enableDma
 Enables DMA for the transaction. More...
 
cy_en_sd_host_auto_cmd_t autoCommand
 Selects which auto commands are used if any. More...
 
bool read
 true = Read from the card, false = Write to the card. More...
 
uint32_t * data
 The pointer to data to send/receive or the pointer to the DMA descriptor.
 
uint32_t dataTimeout
 The timeout value for the transfer. More...
 
bool enableIntAtBlockGap
 Enables the interrupt generation at the block gap. More...
 
bool enReliableWrite
 For EMMC enables the reliable write. More...
 

Field Documentation

◆ blockSize

uint32_t cy_stc_sd_host_data_config_t::blockSize

The size of the data block.

◆ numberOfBlock

uint32_t cy_stc_sd_host_data_config_t::numberOfBlock

The number of blocks to send.

◆ enableDma

bool cy_stc_sd_host_data_config_t::enableDma

Enables DMA for the transaction.

◆ autoCommand

cy_en_sd_host_auto_cmd_t cy_stc_sd_host_data_config_t::autoCommand

Selects which auto commands are used if any.

◆ read

bool cy_stc_sd_host_data_config_t::read

true = Read from the card, false = Write to the card.

◆ dataTimeout

uint32_t cy_stc_sd_host_data_config_t::dataTimeout

The timeout value for the transfer.

◆ enableIntAtBlockGap

bool cy_stc_sd_host_data_config_t::enableIntAtBlockGap

Enables the interrupt generation at the block gap.

◆ enReliableWrite

bool cy_stc_sd_host_data_config_t::enReliableWrite

For EMMC enables the reliable write.