pub type W = W<CTRLA_SPEC>;
Expand description
Register CTRLA
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn swrst(&mut self) -> SWRST_W<'_, CTRLA_SPEC, 0>
pub fn swrst(&mut self) -> SWRST_W<'_, CTRLA_SPEC, 0>
Bit 0 - Software Reset
sourcepub fn enable(&mut self) -> ENABLE_W<'_, CTRLA_SPEC, 1>
pub fn enable(&mut self) -> ENABLE_W<'_, CTRLA_SPEC, 1>
Bit 1 - Enable
sourcepub fn runstdby(&mut self) -> RUNSTDBY_W<'_, CTRLA_SPEC, 2>
pub fn runstdby(&mut self) -> RUNSTDBY_W<'_, CTRLA_SPEC, 2>
Bit 2 - Run in Standby Mode
sourcepub fn mode(&mut self) -> MODE_W<'_, CTRLA_SPEC, 7>
pub fn mode(&mut self) -> MODE_W<'_, CTRLA_SPEC, 7>
Bit 7 - Operating Mode