Type Alias atsamd51j::sdhc0::hc1r_emmc_mode::W

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

Register HC1R_EMMC_MODE writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

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

Bit 1 - Data Width

source

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

Bit 2 - High Speed Enable

source

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

Bits 3:4 - DMA Select

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