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 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 countsync(&mut self) -> COUNTSYNC_W<'_, CTRLA_SPEC, 15>
pub fn countsync(&mut self) -> COUNTSYNC_W<'_, CTRLA_SPEC, 15>
Bit 15 - Count Read Synchronization Enable