Skip to main content

LpmodeW

Type Alias LpmodeW 

Source
pub type LpmodeW<'a, REG> = FieldWriter<'a, REG, 4, Lpmode>;
Expand description

Field LPMODE writer - Low-Power Mode

Aliased Type§

pub struct LpmodeW<'a, REG> { /* private fields */ }

Implementations§

Source§

impl<'a, REG> LpmodeW<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

Source

pub fn lpmode0000(self) -> &'a mut W<REG>

Active/Sleep

Source

pub fn lpmode0001(self) -> &'a mut W<REG>

Deep Sleep

Source

pub fn lpmode0011(self) -> &'a mut W<REG>

Power Down

Source

pub fn lpmode1111(self) -> &'a mut W<REG>

Deep-Power Down