Type Alias CMS_R

Source
pub type CMS_R = FieldReader<CMS>;
Expand description

Field CMS reader - Center-aligned mode selection

Aliased Type§

pub struct CMS_R { /* private fields */ }

Implementations§

Source§

impl CMS_R

Source

pub const fn variant(&self) -> CMS

Get enumerated values variant

Source

pub fn is_edge_aligned(&self) -> bool

The counter counts up or down depending on the direction bit

Source

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.

Source

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.

Source

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.