[][src]Struct sdio_host::SCR

pub struct SCR(pub u64);

SD CARD Configuration Register (SCR)

Implementations

impl SCR[src]

pub fn version(&self) -> SDSpecVersion[src]

Physical Layer Specification Version Number

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

Bus widths supported

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

Supports 1-bit bus width

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

Supports 4-bit bus width

Trait Implementations

impl Clone for SCR[src]

impl Copy for SCR[src]

impl Debug for SCR[src]

impl Default for SCR[src]

impl From<[u32; 2]> for SCR[src]

From little endian words

Auto Trait Implementations

impl Send for SCR

impl Sync for SCR

impl Unpin for SCR

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.