pub struct SCR(pub u64);
Expand description
SD CARD Configuration Register (SCR)
Tuple Fields
0: u64
Implementations
sourceimpl SCR
impl SCR
sourcepub fn version(&self) -> SDSpecVersion
pub fn version(&self) -> SDSpecVersion
Physical Layer Specification Version Number
sourcepub fn bus_widths(&self) -> u8
pub fn bus_widths(&self) -> u8
Bus widths supported
sourcepub fn bus_width_one(&self) -> bool
pub fn bus_width_one(&self) -> bool
Supports 1-bit bus width
sourcepub fn bus_width_four(&self) -> bool
pub fn bus_width_four(&self) -> bool
Supports 4-bit bus width
Trait Implementations
impl Copy for SCR
Auto Trait Implementations
impl RefUnwindSafe for SCR
impl Send for SCR
impl Sync for SCR
impl Unpin for SCR
impl UnwindSafe for SCR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more