Prusa MINI Firmware overview
|
#include <SdInfo.h>
Public Attributes | |
unsigned char | reserved1: 6 |
unsigned char | csd_ver: 2 |
unsigned char | taac |
unsigned char | nsac |
unsigned char | tran_speed |
unsigned char | ccc_high |
unsigned char | read_bl_len: 4 |
unsigned char | ccc_low: 4 |
unsigned char | reserved2: 4 |
unsigned char | dsr_imp: 1 |
unsigned char | read_blk_misalign: 1 |
unsigned char | write_blk_misalign: 1 |
unsigned char | read_bl_partial: 1 |
unsigned char | reserved3: 2 |
unsigned char | c_size_high: 6 |
unsigned char | c_size_mid |
unsigned char | c_size_low |
unsigned char | sector_size_high: 6 |
unsigned char | erase_blk_en: 1 |
unsigned char | reserved4: 1 |
unsigned char | wp_grp_size: 7 |
unsigned char | sector_size_low: 1 |
unsigned char | write_bl_len_high: 2 |
unsigned char | r2w_factor: 3 |
unsigned char | reserved5: 2 |
unsigned char | wp_grp_enable: 1 |
unsigned char | reserved6: 5 |
unsigned char | write_partial: 1 |
unsigned char | write_bl_len_low: 2 |
unsigned char | reserved7: 2 |
unsigned char | file_format: 2 |
unsigned char | tmp_write_protect: 1 |
unsigned char | perm_write_protect: 1 |
unsigned char | copy: 1 |
unsigned char | file_format_grp: 1 |
unsigned char | always1: 1 |
unsigned char | crc: 7 |
CSD for version 2.00 cards
unsigned char CSDV2::reserved1 |
unsigned char CSDV2::csd_ver |
unsigned char CSDV2::taac |
fixed to 0x0E
unsigned char CSDV2::nsac |
fixed to 0
unsigned char CSDV2::tran_speed |
unsigned char CSDV2::ccc_high |
unsigned char CSDV2::read_bl_len |
This field is fixed to 9h, which indicates READ_BL_LEN=512 Byte
unsigned char CSDV2::ccc_low |
unsigned char CSDV2::reserved2 |
not used
unsigned char CSDV2::dsr_imp |
unsigned char CSDV2::read_blk_misalign |
fixed to 0
unsigned char CSDV2::write_blk_misalign |
fixed to 0
unsigned char CSDV2::read_bl_partial |
fixed to 0 - no partial read
unsigned char CSDV2::reserved3 |
not used
unsigned char CSDV2::c_size_high |
high part of card size
unsigned char CSDV2::c_size_mid |
middle part of card size
unsigned char CSDV2::c_size_low |
low part of card size
unsigned char CSDV2::sector_size_high |
sector size is fixed at 64 KB
unsigned char CSDV2::erase_blk_en |
fixed to 1 - erase single is supported
unsigned char CSDV2::reserved4 |
not used
unsigned char CSDV2::wp_grp_size |
unsigned char CSDV2::sector_size_low |
sector size is fixed at 64 KB
unsigned char CSDV2::write_bl_len_high |
write_bl_len fixed for 512 byte blocks
unsigned char CSDV2::r2w_factor |
fixed value of 2
unsigned char CSDV2::reserved5 |
not used
unsigned char CSDV2::wp_grp_enable |
fixed value of 0 - no write protect groups
unsigned char CSDV2::reserved6 |
unsigned char CSDV2::write_partial |
always zero - no partial block read
unsigned char CSDV2::write_bl_len_low |
write_bl_len fixed for 512 byte blocks
unsigned char CSDV2::reserved7 |
unsigned char CSDV2::file_format |
Do not use always 0
unsigned char CSDV2::tmp_write_protect |
unsigned char CSDV2::perm_write_protect |
unsigned char CSDV2::copy |
unsigned char CSDV2::file_format_grp |
Do not use always 0
unsigned char CSDV2::always1 |
not used always 1
unsigned char CSDV2::crc |
checksum