SemiDrive SSDK Appication Program Interface PTG3.0
Data Fields
mmc_csd

#include <sdrv_mmc_sdhci.h>

Data Fields

uint32_t cmmc_structure
 
uint32_t spec_vers
 
uint32_t card_cmd_class
 
uint32_t write_blk_len
 
uint32_t read_blk_len
 
uint32_t r2w_factor
 
uint32_t sector_size
 
uint32_t c_size_mult
 
uint32_t c_size
 
uint32_t nsac_clk_cycle
 
uint32_t taac_ns
 
uint32_t tran_speed
 
uint32_t erase_grp_size
 
uint32_t erase_grp_mult
 
uint32_t wp_grp_size
 
uint32_t wp_grp_enable: 1
 
uint32_t perm_wp: 1
 
uint32_t temp_wp: 1
 
uint32_t erase_blk_len: 1
 
uint32_t read_blk_misalign: 1
 
uint32_t write_blk_misalign: 1
 
uint32_t read_blk_partial: 1
 
uint32_t write_blk_partial: 1
 

Field Documentation

◆ c_size

uint32_t c_size

used capacity for devices up to 2 GB of density

◆ c_size_mult

uint32_t c_size_mult

computing the total device size

◆ card_cmd_class

uint32_t card_cmd_class

card support cmd class

◆ cmmc_structure

uint32_t cmmc_structure

the version of the CSD structure.

◆ erase_blk_len

uint32_t erase_blk_len

supported maximum erase data block length

◆ erase_grp_mult

uint32_t erase_grp_mult

calculating the size of the erasable unit of the Device.

◆ erase_grp_size

uint32_t erase_grp_size

used to calculate the size of the erasable unit of the Device.

◆ nsac_clk_cycle

uint32_t nsac_clk_cycle

the clock dependent factor of the data access time

◆ perm_wp

uint32_t perm_wp

protects the whole device

◆ r2w_factor

uint32_t r2w_factor

read access time

◆ read_blk_len

uint32_t read_blk_len

block length for read operations

◆ read_blk_misalign

uint32_t read_blk_misalign

read over more than one physical block

◆ read_blk_partial

uint32_t read_blk_partial

whether partial block sizes can be used in block read commands.

◆ sector_size

uint32_t sector_size

device sector size

◆ spec_vers

uint32_t spec_vers

System Specification version supported by the Device.

◆ taac_clks

uint32_t taac_clks

◆ taac_ns

uint32_t taac_ns

the asynchronous part of the data access time.

◆ temp_wp

uint32_t temp_wp

Temporarily protects the whole Device content from being overwritten or erased

◆ tran_speed

uint32_t tran_speed

Maximum bus clock frequency definition

◆ wp_grp_enable

uint32_t wp_grp_enable

whether write protection of regions is possible

◆ wp_grp_size

uint32_t wp_grp_size

the minimum size of a write protected region

◆ write_blk_len

uint32_t write_blk_len

block length for write operations

◆ write_blk_misalign

uint32_t write_blk_misalign

write over more than one physical block

◆ write_blk_partial

uint32_t write_blk_partial

whether partial block sizes can be used in block write commands.


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