Type Alias atsamd51j::sdhc0::bgcr_emmc_mode::W

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

Register BGCR_EMMC_MODE writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn stpbgr(&mut self) -> STPBGR_W<'_, BGCR_EMMC_MODE_SPEC, 0>

Bit 0 - Stop at Block Gap Request

source

pub fn contr(&mut self) -> CONTR_W<'_, BGCR_EMMC_MODE_SPEC, 1>

Bit 1 - Continue Request

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