rp2040_pac::ppb::scr

Type Alias SLEEPONEXIT_W

Source
pub type SLEEPONEXIT_W<'a, REG> = BitWriter<'a, REG>;
Expand description

Field SLEEPONEXIT writer - Indicates sleep-on-exit when returning from Handler mode to Thread mode:
0 = Do not sleep when returning to Thread mode.
1 = Enter sleep, or deep sleep, on return from an ISR to Thread mode.
Setting this bit to 1 enables an interrupt driven application to avoid returning to an empty main application.

Aliased Typeยง

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