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

The SD Host data transfer configuration structure. More...

#include <sdio.h>

Data Fields

uint32_t blockSize
 
uint32_t numberOfBlock
 
bool enableDma
 
sdio_auto_cmd_en autoCommand
 
bool read
 
uint32_t * data
 
uint32_t dataTimeout
 
bool enableIntAtBlockGap
 
bool enReliableWrite
 

Detailed Description

The SD Host data transfer configuration structure.

Field Documentation

◆ blockSize

uint32_t sdio_data_config_t::blockSize

The size of each data block in bytes.

◆ numberOfBlock

uint32_t sdio_data_config_t::numberOfBlock

The number of blocks to be transferred.

◆ enableDma

bool sdio_data_config_t::enableDma

Enables or disables DMA for the data transaction.

◆ autoCommand

sdio_auto_cmd_en sdio_data_config_t::autoCommand

Selects if and which auto commands (e.g., CMD12, CMD23) are used.

◆ read

bool sdio_data_config_t::read

True for a read operation from card; false for a write operation to card.

◆ data

uint32_t* sdio_data_config_t::data

Pointer to the data buffer for send/receive, or to the DMA descriptor.

◆ dataTimeout

uint32_t sdio_data_config_t::dataTimeout

The timeout value in clock cycles for the data transfer.

◆ enableIntAtBlockGap

bool sdio_data_config_t::enableIntAtBlockGap

Enables interrupt generation at block gaps during multi-block transfers.

◆ enReliableWrite

bool sdio_data_config_t::enReliableWrite

Enables reliable write mechanism for cards that support it.