Type Alias atsame54n::sdhc0::bgcr::W

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

Register BGCR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

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

Bit 0 - Stop at Block Gap Request

source

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

Bit 1 - Continue Request

source

pub fn rwctrl(&mut self) -> RWCTRL_W<'_, BGCR_SPEC, 2>

Bit 2 - Read Wait Control

source

pub fn intbg(&mut self) -> INTBG_W<'_, BGCR_SPEC, 3>

Bit 3 - Interrupt at Block Gap

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