Loading...
Searching...
No Matches

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.
 
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.
 
uint32_t VDD_W_CURR_MIN:3
 Max.
 
uint32_t VDD_R_CURR_MAX:3
 Max.
 
uint32_t VDD_R_CURR_MIN:3
 Max.
 
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.
 
uint32_t CCC:12
 Card command classes [95:84].
 
uint32_t TRAN_SPEED:8
 Max.
 
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

◆ C_SIZE

uint16_t sdmmc_csd_mmc_t::C_SIZE

Device size [73:62].

Definition at line 750 of file sdmmc.h.

◆ C_SIZE_MULT

uint32_t sdmmc_csd_mmc_t::C_SIZE_MULT

Device size multiplier [49:47].

Definition at line 745 of file sdmmc.h.

◆ CCC

uint32_t sdmmc_csd_mmc_t::CCC

Card command classes [95:84].

Definition at line 757 of file sdmmc.h.

◆ CONTENT_PROT_APP

uint32_t sdmmc_csd_mmc_t::CONTENT_PROT_APP

Content protection application [16].

Definition at line 735 of file sdmmc.h.

◆ COPY

uint32_t sdmmc_csd_mmc_t::COPY

Copy flag [14].

Definition at line 733 of file sdmmc.h.

◆ CSD_CRC

uint32_t sdmmc_csd_mmc_t::CSD_CRC

CRC including End bit 1b [7:0].

Definition at line 728 of file sdmmc.h.

◆ CSD_STRUCTURE

uint32_t sdmmc_csd_mmc_t::CSD_STRUCTURE

CSD structure [127:126].

Definition at line 763 of file sdmmc.h.

◆ DEFAULT_ECC

uint32_t sdmmc_csd_mmc_t::DEFAULT_ECC

Manufacturer default ECC [30:29].

Definition at line 740 of file sdmmc.h.

◆ DSR_IMP

uint32_t sdmmc_csd_mmc_t::DSR_IMP

DSR implemented [76].

Definition at line 752 of file sdmmc.h.

◆ ECC

uint32_t sdmmc_csd_mmc_t::ECC

ECC code [9:8].

Definition at line 729 of file sdmmc.h.

◆ ERASE_GRP_MULT

uint32_t sdmmc_csd_mmc_t::ERASE_GRP_MULT

Erase group size multiplier [41:37].

Definition at line 743 of file sdmmc.h.

◆ ERASE_GRP_SIZE

uint32_t sdmmc_csd_mmc_t::ERASE_GRP_SIZE

Erase group size [46:42].

Definition at line 744 of file sdmmc.h.

◆ FILE_FORMAT

uint32_t sdmmc_csd_mmc_t::FILE_FORMAT

File format [11:10].

Definition at line 730 of file sdmmc.h.

◆ FILE_FORMAT_GRP

uint32_t sdmmc_csd_mmc_t::FILE_FORMAT_GRP

File format group [15].

Definition at line 734 of file sdmmc.h.

◆ NSAC

uint32_t sdmmc_csd_mmc_t::NSAC

Data read access-time-2 in CLK cycles [111:104].

Definition at line 759 of file sdmmc.h.

◆ PERM_WRITE_PROTECT

uint32_t sdmmc_csd_mmc_t::PERM_WRITE_PROTECT

Permanent write protection [13].

Definition at line 732 of file sdmmc.h.

◆ R2W_FACTOR

uint32_t sdmmc_csd_mmc_t::R2W_FACTOR

Write speed factor [28:26].

Definition at line 739 of file sdmmc.h.

◆ 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.

◆ READ_BL_PARTIAL

uint32_t sdmmc_csd_mmc_t::READ_BL_PARTIAL

Partial blocks for read allowed [79].

Definition at line 755 of file sdmmc.h.

◆ READ_BLK_MISALIGN

uint32_t sdmmc_csd_mmc_t::READ_BLK_MISALIGN

Read block misalignment [77].

Definition at line 753 of file sdmmc.h.

◆ reserved1

uint32_t sdmmc_csd_mmc_t::reserved1

reserved [121:120]

Definition at line 761 of file sdmmc.h.

◆ reserved2

uint32_t sdmmc_csd_mmc_t::reserved2

reserved [75:74]

Definition at line 751 of file sdmmc.h.

◆ reserved4

uint32_t sdmmc_csd_mmc_t::reserved4

reserved [20:17]

Definition at line 736 of file sdmmc.h.

◆ SPEC_VERS

uint32_t sdmmc_csd_mmc_t::SPEC_VERS

Specification version [125:122].

Definition at line 762 of file sdmmc.h.

◆ TAAC

uint32_t sdmmc_csd_mmc_t::TAAC

Data read access-time-1 [119:112].

Definition at line 760 of file sdmmc.h.

◆ TMP_WRITE_PROTECT

uint32_t sdmmc_csd_mmc_t::TMP_WRITE_PROTECT

Temporary write protection [12].

Definition at line 731 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.

◆ WP_GRP_ENABLE

uint32_t sdmmc_csd_mmc_t::WP_GRP_ENABLE

write protect group enable [31]

Definition at line 741 of file sdmmc.h.

◆ WP_GRP_SIZE

uint32_t sdmmc_csd_mmc_t::WP_GRP_SIZE

Write protect group size [36:32].

Definition at line 742 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.

◆ WRITE_BL_PARTIAL

uint32_t sdmmc_csd_mmc_t::WRITE_BL_PARTIAL

partial blocks for write allowed [21]

Definition at line 737 of file sdmmc.h.

◆ WRITE_BLK_MISALIGN

uint32_t sdmmc_csd_mmc_t::WRITE_BLK_MISALIGN

Write block misalignment [78].

Definition at line 754 of file sdmmc.h.


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