Hardware Abstraction Layer (HAL)
mtb_hal_sdhc_cmd_config_t Struct Reference

Description

Defines command configuration for mtb_hal_sdhc_send_cmd function.

Collaboration diagram for mtb_hal_sdhc_cmd_config_t:

Data Fields

uint32_t command_index
 The index of the command.
 
uint32_t command_argument
 The argument for the command.
 
bool enable_crc_check
 Enables the CRC check on the response.
 
mtb_hal_sdhc_cmd_response_type_t response_type
 The response type.
 
bool enable_idx_check
 Checks the index of the response.
 
mtb_hal_sdhc_cmd_type_t command_type
 The command type.
 
mtb_hal_sdhc_data_config_tdata_config
 Data transfer configuration, defined in mtb_hal_sdhc_data_config_t. Should be NULL if data transfer is not expected for provided command.
 

Field Documentation

◆ command_index

uint32_t mtb_hal_sdhc_cmd_config_t::command_index

The index of the command.

◆ command_argument

uint32_t mtb_hal_sdhc_cmd_config_t::command_argument

The argument for the command.

◆ enable_crc_check

bool mtb_hal_sdhc_cmd_config_t::enable_crc_check

Enables the CRC check on the response.

◆ response_type

mtb_hal_sdhc_cmd_response_type_t mtb_hal_sdhc_cmd_config_t::response_type

The response type.

◆ enable_idx_check

bool mtb_hal_sdhc_cmd_config_t::enable_idx_check

Checks the index of the response.

◆ command_type

mtb_hal_sdhc_cmd_type_t mtb_hal_sdhc_cmd_config_t::command_type

The command type.

◆ data_config

mtb_hal_sdhc_data_config_t* mtb_hal_sdhc_cmd_config_t::data_config

Data transfer configuration, defined in mtb_hal_sdhc_data_config_t. Should be NULL if data transfer is not expected for provided command.