Defines command configuration for mtb_hal_sdhc_send_cmd function.

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_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. | |
| uint32_t mtb_hal_sdhc_cmd_config_t::command_index |
The index of the command.
| uint32_t mtb_hal_sdhc_cmd_config_t::command_argument |
The argument for the command.
| bool mtb_hal_sdhc_cmd_config_t::enable_crc_check |
Enables the CRC check on the response.
| mtb_hal_sdhc_cmd_response_type_t mtb_hal_sdhc_cmd_config_t::response_type |
The response type.
| bool mtb_hal_sdhc_cmd_config_t::enable_idx_check |
Checks the index of the response.
| mtb_hal_sdhc_cmd_type_t mtb_hal_sdhc_cmd_config_t::command_type |
The command type.
| 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.