pub struct W(_);
Expand description
Register EMMCDDR
writer
Implementations§
§impl W
impl W
pub fn halfstartbit(
&mut self
) -> FieldWriterRaw<'_, u32, EMMCDDR_SPEC, u8, u8, Unsafe, 2, 0>
pub fn halfstartbit(
&mut self
) -> FieldWriterRaw<'_, u32, EMMCDDR_SPEC, u8, u8, Unsafe, 2, 0>
Bits 0:1 - Control for start bit detection mechanism duration of start bit.Each bit refers to one slot.Set this bit to 1 for eMMC4.5 and above,set to 0 for SD applications.For eMMC4.5,start bit can be: 1’b0-Full cycle. 1’b1-less than one full cycle.
pub fn hs400_mode(
&mut self
) -> BitWriterRaw<'_, u32, EMMCDDR_SPEC, bool, BitM, 31>
pub fn hs400_mode(
&mut self
) -> BitWriterRaw<'_, u32, EMMCDDR_SPEC, bool, BitM, 31>
Bit 31 - Set 1 to enable HS400 mode.
Methods from Deref<Target = W<EMMCDDR_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.
Trait Implementations§
§impl From<W<EMMCDDR_SPEC>> for W
impl From<W<EMMCDDR_SPEC>> for W
§fn from(writer: W<EMMCDDR_SPEC>) -> W
fn from(writer: W<EMMCDDR_SPEC>) -> W
Converts to this type from the input type.