pub type CMS_R = FieldReader<CMS>;
Expand description
Field CMS
reader - Center-aligned mode selection Note: Switch from edge-aligned mode to center-aligned mode as long as the counter is enabled (CEN=1) is not allowed
Aliased Type§
pub struct CMS_R { /* private fields */ }
Implementations§
Source§impl CMS_R
impl CMS_R
Sourcepub fn is_edge_aligned(&self) -> bool
pub fn is_edge_aligned(&self) -> bool
The counter counts up or down depending on the direction bit
Sourcepub fn is_center_aligned1(&self) -> bool
pub fn is_center_aligned1(&self) -> bool
The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting down.
Sourcepub fn is_center_aligned2(&self) -> bool
pub fn is_center_aligned2(&self) -> bool
The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting up.
Sourcepub fn is_center_aligned3(&self) -> bool
pub fn is_center_aligned3(&self) -> bool
The counter counts up and down alternatively. Output compare interrupt flags are set both when the counter is counting up or down.