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 cken0(&mut self) -> CKEN0_W<'_, CTRLA_SPEC, 2>
pub fn cken0(&mut self) -> CKEN0_W<'_, CTRLA_SPEC, 2>
Bit 2 - Clock Unit 0 Enable
sourcepub fn cken1(&mut self) -> CKEN1_W<'_, CTRLA_SPEC, 3>
pub fn cken1(&mut self) -> CKEN1_W<'_, CTRLA_SPEC, 3>
Bit 3 - Clock Unit 1 Enable
sourcepub fn txen(&mut self) -> TXEN_W<'_, CTRLA_SPEC, 4>
pub fn txen(&mut self) -> TXEN_W<'_, CTRLA_SPEC, 4>
Bit 4 - Tx Serializer Enable
sourcepub fn rxen(&mut self) -> RXEN_W<'_, CTRLA_SPEC, 5>
pub fn rxen(&mut self) -> RXEN_W<'_, CTRLA_SPEC, 5>
Bit 5 - Rx Serializer Enable