Type Alias xmc4300::ppb::scr::SLEEPONEXIT_W

source ·
pub type SLEEPONEXIT_W<'a, REG> = BitWriter<'a, REG, SLEEPONEXIT_A>;
Expand description

Field SLEEPONEXIT writer - Sleep on Exit

Aliased Type§

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

Implementations§

source§

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

source

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

do not sleep when returning to Thread mode.

source

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

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