Type Alias esp32::sdhost::emmcddr::W

source ·
pub type W = W<EMMCDDR_SPEC>;
Expand description

Register EMMCDDR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn halfstartbit(&mut self) -> HALFSTARTBIT_W<'_, EMMCDDR_SPEC>

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.

source

pub fn hs400_mode(&mut self) -> HS400_MODE_W<'_, EMMCDDR_SPEC>

Bit 31 - Set 1 to enable HS400 mode.

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual