atsamd21g::tcc0::evctrl

Type Alias CntselR

Source
pub type CntselR = FieldReader<Cntselselect>;
Expand description

Field CNTSEL reader - Timer/counter Output Event Mode

Aliased Type§

struct CntselR { /* private fields */ }

Implementations§

Source§

impl CntselR

Source

pub const fn variant(&self) -> Cntselselect

Get enumerated values variant

Source

pub fn is_start(&self) -> bool

An interrupt/event is generated when a new counter cycle starts

Source

pub fn is_end(&self) -> bool

An interrupt/event is generated when a counter cycle ends

Source

pub fn is_between(&self) -> bool

An interrupt/event is generated when a counter cycle ends, except for the first and last cycles

Source

pub fn is_boundary(&self) -> bool

An interrupt/event is generated when a new counter cycle starts or a counter cycle ends