CSD register structure for MMC. More...

Detailed Description

CSD register structure for MMC.

See also
JEDEC Standard No. JESD84-B42, MultiMediaCard (MMC) Electrical Standard, High Capacity (MMCA, 4.2), Section 8.3, Table 35 [jedec.org]

Definition at line 727 of file sdmmc.h.

#include <sdmmc.h>

Data Fields

uint32_t CSD_CRC:8
 CRC including End bit 1b [7:0].
 
uint32_t ECC:2
 ECC code [9:8].
 
uint32_t FILE_FORMAT:2
 File format [11:10].
 
uint32_t TMP_WRITE_PROTECT:1
 Temporary write protection [12].
 
uint32_t PERM_WRITE_PROTECT:1
 Permanent write protection [13].
 
uint32_t COPY:1
 Copy flag [14].
 
uint32_t FILE_FORMAT_GRP:1
 File format group [15].
 
uint32_t CONTENT_PROT_APP:1
 Content protection application [16].
 
uint32_t reserved4:4
 reserved [20:17]
 
uint32_t WRITE_BL_PARTIAL:1
 partial blocks for write allowed [21]
 
uint32_t WRITE_BL_LEN:4
 Max. More...
 
uint32_t R2W_FACTOR:3
 Write speed factor [28:26].
 
uint32_t DEFAULT_ECC:2
 Manufacturer default ECC [30:29].
 
uint32_t WP_GRP_ENABLE:1
 write protect group enable [31]
 
uint32_t WP_GRP_SIZE:5
 Write protect group size [36:32].
 
uint32_t ERASE_GRP_MULT:5
 Erase group size multiplier [41:37].
 
uint32_t ERASE_GRP_SIZE:5
 Erase group size [46:42].
 
uint32_t C_SIZE_MULT:3
 Device size multiplier [49:47].
 
uint32_t VDD_W_CURR_MAX:3
 Max. More...
 
uint32_t VDD_W_CURR_MIN:3
 Max. More...
 
uint32_t VDD_R_CURR_MAX:3
 Max. More...
 
uint32_t VDD_R_CURR_MIN:3
 Max. More...
 
uint16_t C_SIZE:12
 Device size [73:62].
 
uint32_t reserved2:2
 reserved [75:74]
 
uint32_t DSR_IMP:1
 DSR implemented [76].
 
uint32_t READ_BLK_MISALIGN:1
 Read block misalignment [77].
 
uint32_t WRITE_BLK_MISALIGN:1
 Write block misalignment [78].
 
uint32_t READ_BL_PARTIAL:1
 Partial blocks for read allowed [79].
 
uint32_t READ_BL_LEN:4
 Max. More...
 
uint32_t CCC:12
 Card command classes [95:84].
 
uint32_t TRAN_SPEED:8
 Max. More...
 
uint32_t NSAC:8
 Data read access-time-2 in CLK cycles [111:104].
 
uint32_t TAAC:8
 Data read access-time-1 [119:112].
 
uint32_t reserved1:2
 reserved [121:120]
 
uint32_t SPEC_VERS:4
 Specification version [125:122].
 
uint32_t CSD_STRUCTURE:2
 CSD structure [127:126].
 

Field Documentation

◆ READ_BL_LEN

uint32_t sdmmc_csd_mmc_t::READ_BL_LEN

Max.

read data block length [83:80]

Definition at line 756 of file sdmmc.h.

◆ TRAN_SPEED

uint32_t sdmmc_csd_mmc_t::TRAN_SPEED

Max.

bus clock frequency [103:96]

Definition at line 758 of file sdmmc.h.

◆ VDD_R_CURR_MAX

uint32_t sdmmc_csd_mmc_t::VDD_R_CURR_MAX

Max.

read current VDD max [58:56]

Definition at line 748 of file sdmmc.h.

◆ VDD_R_CURR_MIN

uint32_t sdmmc_csd_mmc_t::VDD_R_CURR_MIN

Max.

read current VDD min [61:59]

Definition at line 749 of file sdmmc.h.

◆ VDD_W_CURR_MAX

uint32_t sdmmc_csd_mmc_t::VDD_W_CURR_MAX

Max.

write current VDD max [52:50]

Definition at line 746 of file sdmmc.h.

◆ VDD_W_CURR_MIN

uint32_t sdmmc_csd_mmc_t::VDD_W_CURR_MIN

Max.

write current VDD min [55:53]

Definition at line 747 of file sdmmc.h.

◆ WRITE_BL_LEN

uint32_t sdmmc_csd_mmc_t::WRITE_BL_LEN

Max.

write data block length [25:22]

Definition at line 738 of file sdmmc.h.


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