Type Alias atsamd51j::sdhc0::hc2r::W

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

Register HC2R writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn uhsms(&mut self) -> UHSMS_W<'_, HC2R_SPEC, 0>

Bits 0:2 - UHS Mode Select

source

pub fn vs18en(&mut self) -> VS18EN_W<'_, HC2R_SPEC, 3>

Bit 3 - 1.8V Signaling Enable

source

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

Bits 4:5 - Driver Strength Select

source

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

Bit 6 - Execute Tuning

source

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

Bit 7 - Sampling Clock Select

source

pub fn asinten(&mut self) -> ASINTEN_W<'_, HC2R_SPEC, 14>

Bit 14 - Asynchronous Interrupt Enable

source

pub fn pvalen(&mut self) -> PVALEN_W<'_, HC2R_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