Loading...
Searching...
No Matches
sdcard_spi_t Struct Reference

Device descriptor for sdcard_spi. More...

Detailed Description

Device descriptor for sdcard_spi.

Definition at line 188 of file sdcard_spi.h.

#include <sdcard_spi.h>

Data Fields

const sdcard_spi_params_tparams
 parameters for pin and spi config
 
spi_clk_t spi_clk
 active SPI clock speed
 
bool use_block_addr
 true if block addressing (vs.
 
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

◆ card_type

sd_version_t sdcard_spi_t::card_type

version of SD-card

Definition at line 193 of file sdcard_spi.h.

◆ cid

cid_t sdcard_spi_t::cid

CID register.

Definition at line 195 of file sdcard_spi.h.

◆ csd

csd_t sdcard_spi_t::csd

CSD register.

Definition at line 196 of file sdcard_spi.h.

◆ csd_structure

int sdcard_spi_t::csd_structure

version of the CSD register structure

Definition at line 194 of file sdcard_spi.h.

◆ init_done

bool sdcard_spi_t::init_done

set to true once the init procedure completed successfully

Definition at line 192 of file sdcard_spi.h.

◆ params

const sdcard_spi_params_t* sdcard_spi_t::params

parameters for pin and spi config

Definition at line 189 of file sdcard_spi.h.

◆ spi_clk

spi_clk_t sdcard_spi_t::spi_clk

active SPI clock speed

Definition at line 190 of file sdcard_spi.h.

◆ use_block_addr

bool sdcard_spi_t::use_block_addr

true if block addressing (vs.

byte addressing) is used

Definition at line 191 of file sdcard_spi.h.


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