Type Alias atsame54n::sdhc0::wcr::W

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

Register WCR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn wkencint(&mut self) -> WKENCINT_W<'_, WCR_SPEC, 0>

Bit 0 - Wakeup Event Enable on Card Interrupt

source

pub fn wkencins(&mut self) -> WKENCINS_W<'_, WCR_SPEC, 1>

Bit 1 - Wakeup Event Enable on Card Insertion

source

pub fn wkencrem(&mut self) -> WKENCREM_W<'_, WCR_SPEC, 2>

Bit 2 - Wakeup Event Enable on Card Removal

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