Type Alias atsame54n::sdhc0::hc2r_emmc_mode::W

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

Register HC2R_EMMC_MODE writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn hs200en(&mut self) -> HS200EN_W<'_, HC2R_EMMC_MODE_SPEC, 0>

Bits 0:3 - HS200 Mode Enable

source

pub fn drvsel(&mut self) -> DRVSEL_W<'_, HC2R_EMMC_MODE_SPEC, 4>

Bits 4:5 - Driver Strength Select

source

pub fn extun(&mut self) -> EXTUN_W<'_, HC2R_EMMC_MODE_SPEC, 6>

Bit 6 - Execute Tuning

source

pub fn slcksel(&mut self) -> SLCKSEL_W<'_, HC2R_EMMC_MODE_SPEC, 7>

Bit 7 - Sampling Clock Select

source

pub fn pvalen(&mut self) -> PVALEN_W<'_, HC2R_EMMC_MODE_SPEC, 15>

Bit 15 - Preset Value Enable

source

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

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual