SleeponexitW

Type Alias SleeponexitW 

pub type SleeponexitW<'a, REG> = BitWriter<'a, REG, Sleeponexit>;
Expand description

Field SLEEPONEXIT writer - Indicates sleep-on-exit when returning from Handler mode to Thread mode

Aliased Type§

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

Implementations§

§

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

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

o not sleep when returning to Thread mode

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

enter sleep, or deep sleep, on return from an ISR