atsamd21g::tcc0::evctrl

Type Alias Evact1R

Source
pub type Evact1R = FieldReader<Evact1select>;
Expand description

Field EVACT1 reader - Timer/counter Input Event1 Action

Aliased Type§

struct Evact1R { /* private fields */ }

Implementations§

Source§

impl Evact1R

Source

pub const fn variant(&self) -> Evact1select

Get enumerated values variant

Source

pub fn is_off(&self) -> bool

Event action disabled

Source

pub fn is_retrigger(&self) -> bool

Re-trigger counter on event

Source

pub fn is_dir(&self) -> bool

Direction control

Source

pub fn is_stop(&self) -> bool

Stop counter on event

Source

pub fn is_dec(&self) -> bool

Decrement counter on event

Source

pub fn is_ppw(&self) -> bool

Period capture value in CC0 register, pulse width capture value in CC1 register

Source

pub fn is_pwp(&self) -> bool

Period capture value in CC1 register, pulse width capture value in CC0 register

Source

pub fn is_fault(&self) -> bool

Non-recoverable fault