Type Alias gd32e1::gd32e103::can0::ctl::SlpwmodW

source ·
pub type SlpwmodW<'a, REG> = BitWriter<'a, REG, Slpwmod>;
Expand description

Field SLPWMOD writer - Sleep working mode

Aliased Type§

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

Implementations§

source§

impl<'a, REG> SlpwmodW<'a, REG>
where REG: Writable + RegisterSpec,

source

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

Disable sleep mode, bus activity detected

source

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

Enable sleep mode