Prusa MINI Firmware overview
CSDV1 Struct Reference

#include <SdInfo.h>

Collaboration diagram for CSDV1:

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 c_size_high: 2
 
unsigned char reserved2: 2
 
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 c_size_mid
 
unsigned char vdd_r_curr_max: 3
 
unsigned char vdd_r_curr_min: 3
 
unsigned char c_size_low: 2
 
unsigned char c_size_mult_high: 2
 
unsigned char vdd_w_cur_max: 3
 
unsigned char vdd_w_curr_min: 3
 
unsigned char sector_size_high: 6
 
unsigned char erase_blk_en: 1
 
unsigned char c_size_mult_low: 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 reserved3: 2
 
unsigned char wp_grp_enable: 1
 
unsigned char reserved4: 5
 
unsigned char write_partial: 1
 
unsigned char write_bl_len_low: 2
 
unsigned char reserved5: 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
 

Detailed Description

CSD for version 1.00 cards

Member Data Documentation

◆ reserved1

unsigned char CSDV1::reserved1

◆ csd_ver

unsigned char CSDV1::csd_ver

◆ taac

unsigned char CSDV1::taac

◆ nsac

unsigned char CSDV1::nsac

◆ tran_speed

unsigned char CSDV1::tran_speed

◆ ccc_high

unsigned char CSDV1::ccc_high

◆ read_bl_len

unsigned char CSDV1::read_bl_len

◆ ccc_low

unsigned char CSDV1::ccc_low

◆ c_size_high

unsigned char CSDV1::c_size_high

◆ reserved2

unsigned char CSDV1::reserved2

◆ dsr_imp

unsigned char CSDV1::dsr_imp

◆ read_blk_misalign

unsigned char CSDV1::read_blk_misalign

◆ write_blk_misalign

unsigned char CSDV1::write_blk_misalign

◆ read_bl_partial

unsigned char CSDV1::read_bl_partial

◆ c_size_mid

unsigned char CSDV1::c_size_mid

◆ vdd_r_curr_max

unsigned char CSDV1::vdd_r_curr_max

◆ vdd_r_curr_min

unsigned char CSDV1::vdd_r_curr_min

◆ c_size_low

unsigned char CSDV1::c_size_low

◆ c_size_mult_high

unsigned char CSDV1::c_size_mult_high

◆ vdd_w_cur_max

unsigned char CSDV1::vdd_w_cur_max

◆ vdd_w_curr_min

unsigned char CSDV1::vdd_w_curr_min

◆ sector_size_high

unsigned char CSDV1::sector_size_high

◆ erase_blk_en

unsigned char CSDV1::erase_blk_en

◆ c_size_mult_low

unsigned char CSDV1::c_size_mult_low

◆ wp_grp_size

unsigned char CSDV1::wp_grp_size

◆ sector_size_low

unsigned char CSDV1::sector_size_low

◆ write_bl_len_high

unsigned char CSDV1::write_bl_len_high

◆ r2w_factor

unsigned char CSDV1::r2w_factor

◆ reserved3

unsigned char CSDV1::reserved3

◆ wp_grp_enable

unsigned char CSDV1::wp_grp_enable

◆ reserved4

unsigned char CSDV1::reserved4

◆ write_partial

unsigned char CSDV1::write_partial

◆ write_bl_len_low

unsigned char CSDV1::write_bl_len_low

◆ reserved5

unsigned char CSDV1::reserved5

◆ file_format

unsigned char CSDV1::file_format

◆ tmp_write_protect

unsigned char CSDV1::tmp_write_protect

◆ perm_write_protect

unsigned char CSDV1::perm_write_protect

◆ copy

unsigned char CSDV1::copy

◆ file_format_grp

unsigned char CSDV1::file_format_grp

Indicates the file format on the card

◆ always1

unsigned char CSDV1::always1

◆ crc

unsigned char CSDV1::crc