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 txinv(&mut self) -> TXINV_W<'_, CTRLA_SPEC, 9>
pub fn txinv(&mut self) -> TXINV_W<'_, CTRLA_SPEC, 9>
Bit 9 - Transmit Data Invert
sourcepub fn rxinv(&mut self) -> RXINV_W<'_, CTRLA_SPEC, 10>
pub fn rxinv(&mut self) -> RXINV_W<'_, CTRLA_SPEC, 10>
Bit 10 - Receive Data Invert
sourcepub fn sampr(&mut self) -> SAMPR_W<'_, CTRLA_SPEC, 13>
pub fn sampr(&mut self) -> SAMPR_W<'_, CTRLA_SPEC, 13>
Bits 13:15 - Sample
sourcepub fn txpo(&mut self) -> TXPO_W<'_, CTRLA_SPEC, 16>
pub fn txpo(&mut self) -> TXPO_W<'_, CTRLA_SPEC, 16>
Bits 16:17 - Transmit Data Pinout
sourcepub fn rxpo(&mut self) -> RXPO_W<'_, CTRLA_SPEC, 20>
pub fn rxpo(&mut self) -> RXPO_W<'_, CTRLA_SPEC, 20>
Bits 20:21 - Receive Data Pinout
sourcepub fn sampa(&mut self) -> SAMPA_W<'_, CTRLA_SPEC, 22>
pub fn sampa(&mut self) -> SAMPA_W<'_, CTRLA_SPEC, 22>
Bits 22:23 - Sample Adjustment
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 cmode(&mut self) -> CMODE_W<'_, CTRLA_SPEC, 28>
pub fn cmode(&mut self) -> CMODE_W<'_, CTRLA_SPEC, 28>
Bit 28 - Communication Mode
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