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 dualsel(&mut self) -> DUALSEL_W<'_, CTRLA_SPEC, 3>
pub fn dualsel(&mut self) -> DUALSEL_W<'_, CTRLA_SPEC, 3>
Bits 3:4 - Dual Mode Trigger Selection
sourcepub fn slaveen(&mut self) -> SLAVEEN_W<'_, CTRLA_SPEC, 5>
pub fn slaveen(&mut self) -> SLAVEEN_W<'_, CTRLA_SPEC, 5>
Bit 5 - Slave Enable
sourcepub fn runstdby(&mut self) -> RUNSTDBY_W<'_, CTRLA_SPEC, 6>
pub fn runstdby(&mut self) -> RUNSTDBY_W<'_, CTRLA_SPEC, 6>
Bit 6 - Run in Standby
sourcepub fn ondemand(&mut self) -> ONDEMAND_W<'_, CTRLA_SPEC, 7>
pub fn ondemand(&mut self) -> ONDEMAND_W<'_, CTRLA_SPEC, 7>
Bit 7 - On Demand Control
sourcepub fn prescaler(&mut self) -> PRESCALER_W<'_, CTRLA_SPEC, 8>
pub fn prescaler(&mut self) -> PRESCALER_W<'_, CTRLA_SPEC, 8>
Bits 8:10 - Prescaler Configuration
sourcepub fn r2r(&mut self) -> R2R_W<'_, CTRLA_SPEC, 15>
pub fn r2r(&mut self) -> R2R_W<'_, CTRLA_SPEC, 15>
Bit 15 - Rail to Rail Operation Enable