Type Alias atsamd51p::system_control::scr::SLEEPONEXIT_W

source ·
pub type SLEEPONEXIT_W<'a, REG, const O: u8> = BitWriter<'a, REG, O, SLEEPONEXITSELECT_A>;
Expand description

Field SLEEPONEXIT writer - Sleep-on-exit on handler return

Aliased Type§

struct SLEEPONEXIT_W<'a, REG, const O: u8> { /* private fields */ }

Implementations§

source§

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

source

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

Do not sleep when returning to Thread mode

source

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

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