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 mode(&mut self) -> MODE_W<'_, CTRLA_SPEC, 2>
pub fn mode(&mut self) -> MODE_W<'_, CTRLA_SPEC, 2>
Bits 2:3 - Operating Mode
sourcepub fn clkrep(&mut self) -> CLKREP_W<'_, CTRLA_SPEC, 6>
pub fn clkrep(&mut self) -> CLKREP_W<'_, CTRLA_SPEC, 6>
Bit 6 - Clock Representation
sourcepub fn matchclr(&mut self) -> MATCHCLR_W<'_, CTRLA_SPEC, 7>
pub fn matchclr(&mut self) -> MATCHCLR_W<'_, CTRLA_SPEC, 7>
Bit 7 - Clear on Match
sourcepub fn prescaler(&mut self) -> PRESCALER_W<'_, CTRLA_SPEC, 8>
pub fn prescaler(&mut self) -> PRESCALER_W<'_, CTRLA_SPEC, 8>
Bits 8:11 - Prescaler
sourcepub fn bktrst(&mut self) -> BKTRST_W<'_, CTRLA_SPEC, 13>
pub fn bktrst(&mut self) -> BKTRST_W<'_, CTRLA_SPEC, 13>
Bit 13 - BKUP Registers Reset On Tamper Enable
sourcepub fn gptrst(&mut self) -> GPTRST_W<'_, CTRLA_SPEC, 14>
pub fn gptrst(&mut self) -> GPTRST_W<'_, CTRLA_SPEC, 14>
Bit 14 - GP Registers Reset On Tamper Enable
sourcepub fn clocksync(&mut self) -> CLOCKSYNC_W<'_, CTRLA_SPEC, 15>
pub fn clocksync(&mut self) -> CLOCKSYNC_W<'_, CTRLA_SPEC, 15>
Bit 15 - Clock Read Synchronization Enable