Type Alias atsame54n::system_control::scr::W
source · pub type W = W<SCR_SPEC>;
Expand description
Register SCR
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn sleeponexit(&mut self) -> SLEEPONEXIT_W<'_, SCR_SPEC, 1>
pub fn sleeponexit(&mut self) -> SLEEPONEXIT_W<'_, SCR_SPEC, 1>
Bit 1 - Sleep-on-exit on handler return
sourcepub fn sleepdeep(&mut self) -> SLEEPDEEP_W<'_, SCR_SPEC, 2>
pub fn sleepdeep(&mut self) -> SLEEPDEEP_W<'_, SCR_SPEC, 2>
Bit 2 - Deep Sleep used as low power mode
sourcepub fn sevonpend(&mut self) -> SEVONPEND_W<'_, SCR_SPEC, 4>
pub fn sevonpend(&mut self) -> SEVONPEND_W<'_, SCR_SPEC, 4>
Bit 4 - Send Event on Pending bit