[−][src]Struct sdio_host::CSD
Card Specific Data (CSD)
Implementations
impl CSD
[src]
pub fn version(&self) -> u8
[src]
CSD structure version
pub fn transfer_rate(&self) -> u8
[src]
Maximum data transfer rate per one data line
pub fn block_length(&self) -> BlockSize
[src]
Maximum block length. In an SD Memory Card the WRITE_BL_LEN is always equal to READ_BL_LEN
pub fn block_count(&self) -> u32
[src]
Number of blocks in the card
pub fn card_size(&self) -> u64
[src]
Card size in bytes
pub fn read_current_minimum_vdd(&self) -> CurrentConsumption
[src]
Maximum read current at the minimum VDD
pub fn write_current_minimum_vdd(&self) -> CurrentConsumption
[src]
Maximum write current at the minimum VDD
pub fn read_current_maximum_vdd(&self) -> CurrentConsumption
[src]
Maximum read current at the maximum VDD
pub fn write_current_maximum_vdd(&self) -> CurrentConsumption
[src]
Maximum write current at the maximum VDD
pub fn erase_size_blocks(&self) -> u32
[src]
Erase size (in blocks)
Trait Implementations
impl Clone for CSD
[src]
fn clone(&self) -> CSD
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for CSD
[src]
impl Debug for CSD
[src]
impl Default for CSD
[src]
impl From<[u32; 4]> for CSD
[src]
From little endian words
impl From<u128> for CSD
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,