Zephyr API Documentation 3.7.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
sdhc_command Struct Reference

SD host controller command structure. More...

#include <sdhc.h>

Data Fields

uint32_t opcode
 SD Host specification CMD index.
 
uint32_t arg
 SD host specification argument.
 
uint32_t response [4]
 SD card response field.
 
uint32_t response_type
 Expected SD response type.
 
unsigned int retries
 Max number of retries.
 
int timeout_ms
 Command timeout in milliseconds.
 

Detailed Description

SD host controller command structure.

This command structure is used to send command requests to an SD host controller, which will be sent to SD devices.

Field Documentation

◆ arg

uint32_t sdhc_command::arg

SD host specification argument.

◆ opcode

uint32_t sdhc_command::opcode

SD Host specification CMD index.

◆ response

uint32_t sdhc_command::response[4]

SD card response field.

◆ response_type

uint32_t sdhc_command::response_type

Expected SD response type.

◆ retries

unsigned int sdhc_command::retries

Max number of retries.

◆ timeout_ms

int sdhc_command::timeout_ms

Command timeout in milliseconds.


The documentation for this struct was generated from the following file: