Type Alias atsame51g::tcc0::evctrl::CNTSEL_R

source ·
pub type CNTSEL_R = FieldReader<CNTSELSELECT_A>;
Expand description

Field CNTSEL reader - Timer/counter Output Event Mode

Aliased Type§

struct CNTSEL_R { /* private fields */ }

Implementations§

source§

impl CNTSEL_R

source

pub const fn variant(&self) -> CNTSELSELECT_A

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