Hardware Abstraction Layer (HAL)
mtb_hal_sdhc_t Struct Reference

Description

SDHC object.

Application code should not rely on the specific contents of this struct. They are considered an implementation detail which is subject to change between platforms and/or HAL releases.

Collaboration diagram for mtb_hal_sdhc_t:

Data Fields

_mtb_hal_sdxx_t sdxx
 Common data for mxsdhc IP.
 
cy_stc_sd_host_sd_card_config_t * card_config
 PDL-level card config.
 
uint8_t bus_width
 Width configured for the sdhc bus.
 
uint8_t data_timeout_tout
 TOUT setting of SDHC block.
 
bool data_timeout_auto_reconfig
 Automatically reconfigure data timeout.
 
uint32_t data_timeout_card_clocks_user
 Timeout provided by the user.
 
mtb_hal_gpio_t pin_data [8]
 Pins used for the data bus.
 
bool low_voltage_io_desired
 Is card configured for low voltage.
 
uint16_t emmc_generic_cmd6_time_ms
 Maximum timeout for CMD6 (swwitch command)
 

Field Documentation

◆ sdxx

_mtb_hal_sdxx_t mtb_hal_sdhc_t::sdxx

Common data for mxsdhc IP.

◆ card_config

cy_stc_sd_host_sd_card_config_t* mtb_hal_sdhc_t::card_config

PDL-level card config.

◆ bus_width

uint8_t mtb_hal_sdhc_t::bus_width

Width configured for the sdhc bus.

◆ data_timeout_tout

uint8_t mtb_hal_sdhc_t::data_timeout_tout

TOUT setting of SDHC block.

◆ data_timeout_auto_reconfig

bool mtb_hal_sdhc_t::data_timeout_auto_reconfig

Automatically reconfigure data timeout.

◆ data_timeout_card_clocks_user

uint32_t mtb_hal_sdhc_t::data_timeout_card_clocks_user

Timeout provided by the user.

◆ pin_data

mtb_hal_gpio_t mtb_hal_sdhc_t::pin_data[8]

Pins used for the data bus.

◆ low_voltage_io_desired

bool mtb_hal_sdhc_t::low_voltage_io_desired

Is card configured for low voltage.

◆ emmc_generic_cmd6_time_ms

uint16_t mtb_hal_sdhc_t::emmc_generic_cmd6_time_ms

Maximum timeout for CMD6 (swwitch command)