Hardware Abstraction Layer (HAL)
mtb_hal_sdhc_data_config_t Struct Reference

Description

Defines data configuration.

Data Fields

uint32_t * data_ptr
 The pointer to data for send/receive. Data will be transfered using DMA, which will be configured automaticaly by SDHC HAL driver.
 
uint32_t block_size
 The size of the data block.
 
uint32_t number_of_blocks
 The number of blocks with size block_size to send.
 
mtb_hal_sdhc_auto_cmd_t auto_command
 Selects which auto commands are used if any.
 
bool is_read
 true = Read from the card,false = Write to the card.
 

Field Documentation

◆ data_ptr

uint32_t* mtb_hal_sdhc_data_config_t::data_ptr

The pointer to data for send/receive. Data will be transfered using DMA, which will be configured automaticaly by SDHC HAL driver.

◆ block_size

uint32_t mtb_hal_sdhc_data_config_t::block_size

The size of the data block.

◆ number_of_blocks

uint32_t mtb_hal_sdhc_data_config_t::number_of_blocks

The number of blocks with size block_size to send.

◆ auto_command

mtb_hal_sdhc_auto_cmd_t mtb_hal_sdhc_data_config_t::auto_command

Selects which auto commands are used if any.

◆ is_read

bool mtb_hal_sdhc_data_config_t::is_read

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