Zephyr API Documentation
3.4.0
A Scalable Open Source RTOS
|
|
3.4.0 |
SD card structure. More...
#include <sd.h>
Data Fields | |
const struct device * | sdhc |
struct sdhc_io | bus_io |
enum sd_voltage | card_voltage |
struct k_mutex | lock |
struct sdhc_host_props | host_props |
uint32_t | ocr |
struct sd_switch_caps | switch_caps |
uint32_t | num_io |
uint32_t | relative_addr |
uint32_t | block_count |
uint32_t | block_size |
uint32_t | sd_version |
uint32_t | card_speed |
enum card_status | status |
enum card_type | type |
uint32_t | flags |
uint8_t | card_buffer [CONFIG_SD_BUFFER_SIZE] |
SD card structure.
This structure is used by the subsystem to track an individual SD device connected to the system. The application may access these fields, but use caution when changing values.
uint32_t sd_card::block_count |
Number of blocks in SD card
uint32_t sd_card::block_size |
SD block size
struct sdhc_io sd_card::bus_io |
Current bus I/O props for SDHC
uint8_t sd_card::card_buffer[CONFIG_SD_BUFFER_SIZE] |
uint32_t sd_card::card_speed |
Card timing mode
enum sd_voltage sd_card::card_voltage |
Card signal voltage
uint32_t sd_card::flags |
Card flags
struct sdhc_host_props sd_card::host_props |
SDHC host properties
struct k_mutex sd_card::lock |
card mutex
uint32_t sd_card::num_io |
I/O function count. 0 for SD cards
uint32_t sd_card::ocr |
Raw card OCR content
uint32_t sd_card::relative_addr |
Card relative address
uint32_t sd_card::sd_version |
SD specification version
const struct device* sd_card::sdhc |
SD host controller for card
enum card_status sd_card::status |
Card status
struct sd_switch_caps sd_card::switch_caps |
SD switch capabilities
enum card_type sd_card::type |
Card type