pub type W = W<PERIOD_STOP_SPEC>;
Expand description
Register period_stop
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
Source§impl W
impl W
Sourcepub fn phase(&mut self, n: u8) -> PHASE_W<'_, PERIOD_STOP_SPEC>
pub fn phase(&mut self, n: u8) -> PHASE_W<'_, PERIOD_STOP_SPEC>
Length of stop condition phase (0-3)
NOTE: n
is number of field in register. n == 0
corresponds to phase0
field
Sourcepub fn phase0(&mut self) -> PHASE_W<'_, PERIOD_STOP_SPEC>
pub fn phase0(&mut self) -> PHASE_W<'_, PERIOD_STOP_SPEC>
Bits 0:7 - Length of stop condition phase 0
Sourcepub fn phase1(&mut self) -> PHASE_W<'_, PERIOD_STOP_SPEC>
pub fn phase1(&mut self) -> PHASE_W<'_, PERIOD_STOP_SPEC>
Bits 8:15 - Length of stop condition phase 1
Sourcepub fn phase2(&mut self) -> PHASE_W<'_, PERIOD_STOP_SPEC>
pub fn phase2(&mut self) -> PHASE_W<'_, PERIOD_STOP_SPEC>
Bits 16:23 - Length of stop condition phase 2
Sourcepub fn phase3(&mut self) -> PHASE_W<'_, PERIOD_STOP_SPEC>
pub fn phase3(&mut self) -> PHASE_W<'_, PERIOD_STOP_SPEC>
Bits 24:31 - Length of stop condition phase 3