Type Alias atsame54n::tcc0::evctrl::EVACT1_R

source ·
pub type EVACT1_R = FieldReader<EVACT1SELECT_A>;
Expand description

Field EVACT1 reader - Timer/counter Input Event1 Action

Aliased Type§

struct EVACT1_R { /* private fields */ }

Implementations§

source§

impl EVACT1_R

source

pub const fn variant(&self) -> EVACT1SELECT_A

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