[][src]Struct stm32h7_sdmmc::OCR

pub struct OCR(pub u32);

Operation Conditions Register (OCR)

Implementations

impl OCR[src]

pub fn voltage_window_mv(&self) -> Option<(u16, u16)>[src]

VDD voltage window

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

Switching to 1.8V Accepted (S18A). Only UHS-I cards support this bit

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

Indicates whether the card supports UHS-II Interface

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

Card Capacity Status (CCS). True for SDHC/SDXC/SDUC

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

Card power up status bit (busy)

Trait Implementations

impl Clone for OCR[src]

impl Copy for OCR[src]

impl Debug for OCR[src]

impl Default for OCR[src]

Auto Trait Implementations

impl Send for OCR

impl Sync for OCR

impl Unpin for OCR

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.