Type Alias atsame54n::tc0::count16::evctrl::EVACT_R

source ·
pub type EVACT_R = FieldReader<EVACTSELECT_A>;
Expand description

Field EVACT reader - Event Action

Aliased Type§

struct EVACT_R { /* private fields */ }

Implementations§

source§

impl EVACT_R

source

pub const fn variant(&self) -> EVACTSELECT_A

Get enumerated values variant

source

pub fn is_off(&self) -> bool

Event action disabled

source

pub fn is_retrigger(&self) -> bool

Start, restart or retrigger TC on event

source

pub fn is_count(&self) -> bool

Count on event

source

pub fn is_start(&self) -> bool

Start TC on event

source

pub fn is_stamp(&self) -> bool

Time stamp capture

source

pub fn is_ppw(&self) -> bool

Period catured in CC0, pulse width in CC1

source

pub fn is_pwp(&self) -> bool

Period catured in CC1, pulse width in CC0

source

pub fn is_pw(&self) -> bool

Pulse width capture