[][src]Struct stm32h7_sdmmc::SDStatus

pub struct SDStatus { /* fields omitted */ }

SD Status

Implementations

impl SDStatus[src]

pub fn new(inner: [u32; 16]) -> Self[src]

A new SD Status from a slice (512 bits)

pub fn size_of_protected_area(&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

Trait Implementations

impl Clone for SDStatus[src]

impl Copy for SDStatus[src]

impl Debug for SDStatus[src]

impl Default for SDStatus[src]

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