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 in Standby
sourcepub fn pinout(&mut self) -> PINOUT_W<'_, CTRLA_SPEC, 16>
pub fn pinout(&mut self) -> PINOUT_W<'_, CTRLA_SPEC, 16>
Bit 16 - Pin Usage
sourcepub fn sdahold(&mut self) -> SDAHOLD_W<'_, CTRLA_SPEC, 20>
pub fn sdahold(&mut self) -> SDAHOLD_W<'_, CTRLA_SPEC, 20>
Bits 20:21 - SDA Hold Time
sourcepub fn mexttoen(&mut self) -> MEXTTOEN_W<'_, CTRLA_SPEC, 22>
pub fn mexttoen(&mut self) -> MEXTTOEN_W<'_, CTRLA_SPEC, 22>
Bit 22 - Master SCL Low Extend Timeout
sourcepub fn sexttoen(&mut self) -> SEXTTOEN_W<'_, CTRLA_SPEC, 23>
pub fn sexttoen(&mut self) -> SEXTTOEN_W<'_, CTRLA_SPEC, 23>
Bit 23 - Slave SCL Low Extend Timeout
sourcepub fn speed(&mut self) -> SPEED_W<'_, CTRLA_SPEC, 24>
pub fn speed(&mut self) -> SPEED_W<'_, CTRLA_SPEC, 24>
Bits 24:25 - Transfer Speed
sourcepub fn sclsm(&mut self) -> SCLSM_W<'_, CTRLA_SPEC, 27>
pub fn sclsm(&mut self) -> SCLSM_W<'_, CTRLA_SPEC, 27>
Bit 27 - SCL Clock Stretch Mode
sourcepub fn inactout(&mut self) -> INACTOUT_W<'_, CTRLA_SPEC, 28>
pub fn inactout(&mut self) -> INACTOUT_W<'_, CTRLA_SPEC, 28>
Bits 28:29 - Inactive Time-Out
sourcepub fn lowtouten(&mut self) -> LOWTOUTEN_W<'_, CTRLA_SPEC, 30>
pub fn lowtouten(&mut self) -> LOWTOUTEN_W<'_, CTRLA_SPEC, 30>
Bit 30 - SCL Low Timeout Enable