[][src]Struct sdio_host::SDStatus

pub struct SDStatus { /* fields omitted */ }

SD Status

Status bits related to SD Memory Card proprietary features

Ref PLSS_v7_10 Section 4.10.2 SD Status

Implementations

impl SDStatus[src]

pub fn bus_width(&self) -> BusWidth[src]

Current data bus width

pub fn secure_mode(&self) -> bool[src]

Is the card currently in the secured mode

pub fn sd_memory_card_type(&self) -> u16[src]

SD Memory Card type (ROM, OTP, etc)

pub fn protected_area_size(&self) -> u32[src]

SDHC / SDXC: Capacity of Protected Area in bytes

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

Speed Class

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

"Performance Move" indicator in 1 MB/s units

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

Allocation Unit (AU) size. Lookup in PLSS v7_10 Table 4-47

pub fn erase_size(&self) -> u16[src]

Indicates N_Erase, in units of AU

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

Indicates T_Erase / Erase Timeout (s)

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

Video speed class

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

Application Performance Class

pub fn discard_support(&self) -> bool[src]

Discard Support

Trait Implementations

impl Clone for SDStatus[src]

impl Copy for SDStatus[src]

impl Debug for SDStatus[src]

impl Default for SDStatus[src]

impl From<[u32; 16]> for SDStatus[src]

From little endian words

Auto Trait Implementations

impl Send for SDStatus

impl Sync for SDStatus

impl Unpin for SDStatus

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.