pub type CMS_W<'a> = FieldWriterSafe<'a, u32, CR1_SPEC, u8, CMS_A, 2, 5>;
Expand description
Field CMS
writer - Center-aligned mode selection
Implementations
sourceimpl<'a> CMS_W<'a>
impl<'a> CMS_W<'a>
sourcepub fn edge_aligned(self) -> &'a mut W
pub fn edge_aligned(self) -> &'a mut W
The counter counts up or down depending on the direction bit
sourcepub fn center_aligned1(self) -> &'a mut W
pub fn center_aligned1(self) -> &'a mut W
The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting down.
sourcepub fn center_aligned2(self) -> &'a mut W
pub fn center_aligned2(self) -> &'a mut W
The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting up.
sourcepub fn center_aligned3(self) -> &'a mut W
pub fn center_aligned3(self) -> &'a mut W
The counter counts up and down alternatively. Output compare interrupt flags are set both when the counter is counting up or down.