Type Alias atsamd51n::sdhc0::mc1r::W

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

Register MC1R writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn cmdtyp(&mut self) -> CMDTYP_W<'_, MC1R_SPEC, 0>

Bits 0:1 - e.MMC Command Type

source

pub fn ddr(&mut self) -> DDR_W<'_, MC1R_SPEC, 3>

Bit 3 - e.MMC HSDDR Mode

source

pub fn opd(&mut self) -> OPD_W<'_, MC1R_SPEC, 4>

Bit 4 - e.MMC Open Drain Mode

source

pub fn boota(&mut self) -> BOOTA_W<'_, MC1R_SPEC, 5>

Bit 5 - e.MMC Boot Acknowledge Enable

source

pub fn rstn(&mut self) -> RSTN_W<'_, MC1R_SPEC, 6>

Bit 6 - e.MMC Reset Signal

source

pub fn fcd(&mut self) -> FCD_W<'_, MC1R_SPEC, 7>

Bit 7 - e.MMC Force Card Detect

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