pub struct CsdV1 {
pub data: [u8; 16],
}
Expand description
Card Specific Data, version 1
Fields§
§data: [u8; 16]
The 16-bytes of data in this Card Specific Data block
Implementations§
Source§impl CsdV1
impl CsdV1
Sourcepub fn data_read_access_time1(&self) -> u8
pub fn data_read_access_time1(&self) -> u8
Get the value from the $name field
Sourcepub fn data_read_access_time2(&self) -> u8
pub fn data_read_access_time2(&self) -> u8
Get the value from the $name field
Sourcepub fn max_data_transfer_rate(&self) -> u8
pub fn max_data_transfer_rate(&self) -> u8
Get the value from the $name field
Sourcepub fn card_command_classes(&self) -> u16
pub fn card_command_classes(&self) -> u16
Gets the value from the $name field
Sourcepub fn read_block_length(&self) -> u8
pub fn read_block_length(&self) -> u8
Get the value from the $name field
Sourcepub fn read_partial_blocks(&self) -> bool
pub fn read_partial_blocks(&self) -> bool
Get the value from the $name field
Sourcepub fn write_block_misalignment(&self) -> bool
pub fn write_block_misalignment(&self) -> bool
Get the value from the $name field
Sourcepub fn read_block_misalignment(&self) -> bool
pub fn read_block_misalignment(&self) -> bool
Get the value from the $name field
Sourcepub fn dsr_implemented(&self) -> bool
pub fn dsr_implemented(&self) -> bool
Get the value from the $name field
Sourcepub fn device_size(&self) -> u32
pub fn device_size(&self) -> u32
Gets the value from the $name field
Sourcepub fn max_read_current_vdd_max(&self) -> u8
pub fn max_read_current_vdd_max(&self) -> u8
Get the value from the $name field
Sourcepub fn max_read_current_vdd_min(&self) -> u8
pub fn max_read_current_vdd_min(&self) -> u8
Get the value from the $name field
Sourcepub fn max_write_current_vdd_max(&self) -> u8
pub fn max_write_current_vdd_max(&self) -> u8
Get the value from the $name field
Sourcepub fn max_write_current_vdd_min(&self) -> u8
pub fn max_write_current_vdd_min(&self) -> u8
Get the value from the $name field
Sourcepub fn device_size_multiplier(&self) -> u8
pub fn device_size_multiplier(&self) -> u8
Gets the value from the $name field
Sourcepub fn erase_single_block_enabled(&self) -> bool
pub fn erase_single_block_enabled(&self) -> bool
Get the value from the $name field
Sourcepub fn erase_sector_size(&self) -> u8
pub fn erase_sector_size(&self) -> u8
Gets the value from the $name field
Sourcepub fn write_protect_group_size(&self) -> u8
pub fn write_protect_group_size(&self) -> u8
Get the value from the $name field
Sourcepub fn write_protect_group_enable(&self) -> bool
pub fn write_protect_group_enable(&self) -> bool
Get the value from the $name field
Sourcepub fn write_speed_factor(&self) -> u8
pub fn write_speed_factor(&self) -> u8
Get the value from the $name field
Sourcepub fn max_write_data_length(&self) -> u8
pub fn max_write_data_length(&self) -> u8
Gets the value from the $name field
Sourcepub fn write_partial_blocks(&self) -> bool
pub fn write_partial_blocks(&self) -> bool
Get the value from the $name field
Sourcepub fn file_format(&self) -> u8
pub fn file_format(&self) -> u8
Get the value from the $name field
Sourcepub fn temporary_write_protection(&self) -> bool
pub fn temporary_write_protection(&self) -> bool
Get the value from the $name field
Sourcepub fn permanent_write_protection(&self) -> bool
pub fn permanent_write_protection(&self) -> bool
Get the value from the $name field
Sourcepub fn copy_flag_set(&self) -> bool
pub fn copy_flag_set(&self) -> bool
Get the value from the $name field
Sourcepub fn file_format_group_set(&self) -> bool
pub fn file_format_group_set(&self) -> bool
Get the value from the $name field
Sourcepub fn card_capacity_bytes(&self) -> u64
pub fn card_capacity_bytes(&self) -> u64
Returns the card capacity in bytes
Sourcepub fn card_capacity_blocks(&self) -> u32
pub fn card_capacity_blocks(&self) -> u32
Returns the card capacity in 512-byte blocks