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

SD Host Write/Read structure. More...

#include <sdio.h>

Data Fields

uint32_t * data
 
uint32_t address
 
uint32_t numberOfBlocks
 
sdio_auto_cmd_en autoCommand
 
uint32_t dataTimeout
 
bool enReliableWrite
 
bool enableDma
 

Detailed Description

SD Host Write/Read structure.

Field Documentation

◆ data

uint32_t* sdio_write_read_config_t::data

Pointer to the data buffer for the write or read operation.

◆ address

uint32_t sdio_write_read_config_t::address

The starting address on the SD card for the operation.

◆ numberOfBlocks

uint32_t sdio_write_read_config_t::numberOfBlocks

The number of blocks to write or read.

◆ autoCommand

sdio_auto_cmd_en sdio_write_read_config_t::autoCommand

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

◆ dataTimeout

uint32_t sdio_write_read_config_t::dataTimeout

The timeout value in clock cycles for the data transfer.

◆ enReliableWrite

bool sdio_write_read_config_t::enReliableWrite

For cards, enables the reliable write feature.

◆ enableDma

bool sdio_write_read_config_t::enableDma

Enables or disables DMA for the transaction.