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:4 - Operating Mode
sourcepub fn runstdby(&mut self) -> RUNSTDBY_W<'_, CTRLA_SPEC, 7>
pub fn runstdby(&mut self) -> RUNSTDBY_W<'_, CTRLA_SPEC, 7>
Bit 7 - Run during Standby
sourcepub fn ibon(&mut self) -> IBON_W<'_, CTRLA_SPEC, 8>
pub fn ibon(&mut self) -> IBON_W<'_, CTRLA_SPEC, 8>
Bit 8 - Immediate Buffer Overflow Notification
sourcepub fn dopo(&mut self) -> DOPO_W<'_, CTRLA_SPEC, 16>
pub fn dopo(&mut self) -> DOPO_W<'_, CTRLA_SPEC, 16>
Bits 16:17 - Data Out Pinout
sourcepub fn dipo(&mut self) -> DIPO_W<'_, CTRLA_SPEC, 20>
pub fn dipo(&mut self) -> DIPO_W<'_, CTRLA_SPEC, 20>
Bits 20:21 - Data In Pinout
sourcepub fn form(&mut self) -> FORM_W<'_, CTRLA_SPEC, 24>
pub fn form(&mut self) -> FORM_W<'_, CTRLA_SPEC, 24>
Bits 24:27 - Frame Format
sourcepub fn cpha(&mut self) -> CPHA_W<'_, CTRLA_SPEC, 28>
pub fn cpha(&mut self) -> CPHA_W<'_, CTRLA_SPEC, 28>
Bit 28 - Clock Phase
sourcepub fn cpol(&mut self) -> CPOL_W<'_, CTRLA_SPEC, 29>
pub fn cpol(&mut self) -> CPOL_W<'_, CTRLA_SPEC, 29>
Bit 29 - Clock Polarity
sourcepub fn dord(&mut self) -> DORD_W<'_, CTRLA_SPEC, 30>
pub fn dord(&mut self) -> DORD_W<'_, CTRLA_SPEC, 30>
Bit 30 - Data Order