Type Alias atsamd51j::sdhc0::mc2r::W

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

Register MC2R writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn sresp(&mut self) -> SRESP_W<'_, MC2R_SPEC, 0>

Bit 0 - e.MMC Abort Wait IRQ

source

pub fn aboot(&mut self) -> ABOOT_W<'_, MC2R_SPEC, 1>

Bit 1 - e.MMC Abort Boot

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