[][src]Struct sdio_host::CSD

pub struct 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]

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

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, 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.