Type Alias W

Source
pub type W = W<MCUCR_SPEC>;
Expand description

Register MCUCR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn bodse(&mut self) -> BODSE_W<'_, MCUCR_SPEC>

Bit 2 - BOD Sleep Enable (available on some devices)

Source

pub fn sm(&mut self) -> SM_W<'_, MCUCR_SPEC>

Bits 3:4 - Sleep Mode Select Bits

Source

pub fn se(&mut self) -> SE_W<'_, MCUCR_SPEC>

Bit 5 - Sleep Enable

Source

pub fn pud(&mut self) -> PUD_W<'_, MCUCR_SPEC>

Bit 6 - Pull-up Disable

Source

pub fn bods(&mut self) -> BODS_W<'_, MCUCR_SPEC>

Bit 7 - BOD Sleep (available on some devices)