Type Alias atsamd51j::sdhc0::hc1r::W

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

Register HC1R writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn ledctrl(&mut self) -> LEDCTRL_W<'_, HC1R_SPEC, 0>

Bit 0 - LED Control

source

pub fn dw(&mut self) -> DW_W<'_, HC1R_SPEC, 1>

Bit 1 - Data Width

source

pub fn hsen(&mut self) -> HSEN_W<'_, HC1R_SPEC, 2>

Bit 2 - High Speed Enable

source

pub fn dmasel(&mut self) -> DMASEL_W<'_, HC1R_SPEC, 3>

Bits 3:4 - DMA Select

source

pub fn carddtl(&mut self) -> CARDDTL_W<'_, HC1R_SPEC, 6>

Bit 6 - Card Detect Test Level

source

pub fn carddsel(&mut self) -> CARDDSEL_W<'_, HC1R_SPEC, 7>

Bit 7 - Card Detect Signal Selection

source

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

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual