[][src]Struct stm32h7_sdmmc::CSD

pub struct CSD(pub u128);

Card Specific Data (CSD)

Implementations

impl CSD[src]

pub fn tranfer_rate(&self) -> u8[src]

Maximum data transfer rate per one data line

pub fn block_length(&self) -> Option<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 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]

impl Copy for CSD[src]

impl Debug for CSD[src]

impl Default for CSD[src]

Auto Trait Implementations

impl Send for CSD

impl Sync for CSD

impl Unpin for CSD

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.