Loading...
Searching...
No Matches

CSD register structure Version 1.0. More...

Detailed Description

CSD register structure Version 1.0.

See also
Physical Layer Simplified Specification Version 9.00, Section 5.3.2, Table 5.4 [sdcard.org]

Definition at line 638 of file sdmmc.h.

#include <sdmmc.h>

Data Fields

uint32_t CSD_CRC:8
 CRC including End bit 1b [7:0].
 
uint32_t reserved5:1
 reserved [8]
 
uint32_t WP_UPC:1
 write protection until power cycle [9]
 
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 reserved4:5
 reserved [20:16]
 
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 reserved3:2
 reserved [30:29]
 
uint32_t WP_GRP_ENABLE:1
 write protect group enable [31]
 
uint32_t WP_GRP_SIZE:7
 write protect group size [38:32]
 
uint32_t SECTOR_SIZE:7
 erase sector size [45:39]
 
uint32_t ERASE_BLK_EN:1
 erase single block enable [46]
 
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.
 
uint32_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:6
 reserved [125:120]
 
uint32_t CSD_STRUCTURE:2
 CSD structure [127:126].
 

Field Documentation

◆ C_SIZE

uint32_t sdmmc_csd_v1_t::C_SIZE

device size [73:62]

Definition at line 661 of file sdmmc.h.

◆ C_SIZE_MULT

uint32_t sdmmc_csd_v1_t::C_SIZE_MULT

device size multiplier [49:47]

Definition at line 656 of file sdmmc.h.

◆ CCC

uint32_t sdmmc_csd_v1_t::CCC

card command classes [95:84]

Definition at line 668 of file sdmmc.h.

◆ COPY

uint32_t sdmmc_csd_v1_t::COPY

copy flag [14]

Definition at line 645 of file sdmmc.h.

◆ CSD_CRC

uint32_t sdmmc_csd_v1_t::CSD_CRC

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

Definition at line 639 of file sdmmc.h.

◆ CSD_STRUCTURE

uint32_t sdmmc_csd_v1_t::CSD_STRUCTURE

CSD structure [127:126].

Definition at line 673 of file sdmmc.h.

◆ DSR_IMP

uint32_t sdmmc_csd_v1_t::DSR_IMP

DSR implemented [76].

Definition at line 663 of file sdmmc.h.

◆ ERASE_BLK_EN

uint32_t sdmmc_csd_v1_t::ERASE_BLK_EN

erase single block enable [46]

Definition at line 655 of file sdmmc.h.

◆ FILE_FORMAT

uint32_t sdmmc_csd_v1_t::FILE_FORMAT

File format [11:10].

Definition at line 642 of file sdmmc.h.

◆ FILE_FORMAT_GRP

uint32_t sdmmc_csd_v1_t::FILE_FORMAT_GRP

File format group [15].

Definition at line 646 of file sdmmc.h.

◆ NSAC

uint32_t sdmmc_csd_v1_t::NSAC

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

Definition at line 670 of file sdmmc.h.

◆ PERM_WRITE_PROTECT

uint32_t sdmmc_csd_v1_t::PERM_WRITE_PROTECT

permanent write protection [13]

Definition at line 644 of file sdmmc.h.

◆ R2W_FACTOR

uint32_t sdmmc_csd_v1_t::R2W_FACTOR

write speed factor [28:26]

Definition at line 650 of file sdmmc.h.

◆ READ_BL_LEN

uint32_t sdmmc_csd_v1_t::READ_BL_LEN

max.

read data block length [83:80]

Definition at line 667 of file sdmmc.h.

◆ READ_BL_PARTIAL

uint32_t sdmmc_csd_v1_t::READ_BL_PARTIAL

partial blocks for read allowed [79]

Definition at line 666 of file sdmmc.h.

◆ READ_BLK_MISALIGN

uint32_t sdmmc_csd_v1_t::READ_BLK_MISALIGN

read block misalignment [77]

Definition at line 664 of file sdmmc.h.

◆ reserved1

uint32_t sdmmc_csd_v1_t::reserved1

reserved [125:120]

Definition at line 672 of file sdmmc.h.

◆ reserved2

uint32_t sdmmc_csd_v1_t::reserved2

reserved [75:74]

Definition at line 662 of file sdmmc.h.

◆ reserved3

uint32_t sdmmc_csd_v1_t::reserved3

reserved [30:29]

Definition at line 651 of file sdmmc.h.

◆ reserved4

uint32_t sdmmc_csd_v1_t::reserved4

reserved [20:16]

Definition at line 647 of file sdmmc.h.

◆ reserved5

uint32_t sdmmc_csd_v1_t::reserved5

reserved [8]

Definition at line 640 of file sdmmc.h.

◆ SECTOR_SIZE

uint32_t sdmmc_csd_v1_t::SECTOR_SIZE

erase sector size [45:39]

Definition at line 654 of file sdmmc.h.

◆ TAAC

uint32_t sdmmc_csd_v1_t::TAAC

data read access-time-1 [119:112]

Definition at line 671 of file sdmmc.h.

◆ TMP_WRITE_PROTECT

uint32_t sdmmc_csd_v1_t::TMP_WRITE_PROTECT

temporary write protection [12]

Definition at line 643 of file sdmmc.h.

◆ TRAN_SPEED

uint32_t sdmmc_csd_v1_t::TRAN_SPEED

max.

data transfer rate [103:96]

Definition at line 669 of file sdmmc.h.

◆ VDD_R_CURR_MAX

uint32_t sdmmc_csd_v1_t::VDD_R_CURR_MAX

max.

read current VDD max [58:56]

Definition at line 659 of file sdmmc.h.

◆ VDD_R_CURR_MIN

uint32_t sdmmc_csd_v1_t::VDD_R_CURR_MIN

max.

read current VDD min [61:59]

Definition at line 660 of file sdmmc.h.

◆ VDD_W_CURR_MAX

uint32_t sdmmc_csd_v1_t::VDD_W_CURR_MAX

max.

write current VDD max [52:50]

Definition at line 657 of file sdmmc.h.

◆ VDD_W_CURR_MIN

uint32_t sdmmc_csd_v1_t::VDD_W_CURR_MIN

max.

write current VDD min [55:53]

Definition at line 658 of file sdmmc.h.

◆ WP_GRP_ENABLE

uint32_t sdmmc_csd_v1_t::WP_GRP_ENABLE

write protect group enable [31]

Definition at line 652 of file sdmmc.h.

◆ WP_GRP_SIZE

uint32_t sdmmc_csd_v1_t::WP_GRP_SIZE

write protect group size [38:32]

Definition at line 653 of file sdmmc.h.

◆ WP_UPC

uint32_t sdmmc_csd_v1_t::WP_UPC

write protection until power cycle [9]

Definition at line 641 of file sdmmc.h.

◆ WRITE_BL_LEN

uint32_t sdmmc_csd_v1_t::WRITE_BL_LEN

max.

write data block length [25:22]

Definition at line 649 of file sdmmc.h.

◆ WRITE_BL_PARTIAL

uint32_t sdmmc_csd_v1_t::WRITE_BL_PARTIAL

partial blocks for write allowed [21]

Definition at line 648 of file sdmmc.h.

◆ WRITE_BLK_MISALIGN

uint32_t sdmmc_csd_v1_t::WRITE_BLK_MISALIGN

write block misalignment [78]

Definition at line 665 of file sdmmc.h.


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