sdcard_spi_t Struct Reference

Device descriptor for sdcard_spi. More...

Detailed Description

Device descriptor for sdcard_spi.

Definition at line 187 of file sdcard_spi.h.

#include <sdcard_spi.h>

Data Fields

sdcard_spi_params_t params
 parameters for pin and spi config
spi_clk_t spi_clk
 active SPI clock speed
bool use_block_addr
 true if block addressing (vs. More...
bool init_done
 set to true once the init procedure completed successfully
sd_version_t card_type
 version of SD-card
int csd_structure
 version of the CSD register structure
cid_t cid
 CID register.
csd_t csd
 CSD register.

Field Documentation

◆ use_block_addr

bool sdcard_spi_t::use_block_addr

true if block addressing (vs.

byte addressing) is used

Definition at line 190 of file sdcard_spi.h.

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