Type Alias atsame54n::tcc0::evctrl::EVACT0_W

source ·
pub type EVACT0_W<'a, REG, const O: u8> = FieldWriterSafe<'a, REG, 3, O, EVACT0SELECT_A>;
Expand description

Field EVACT0 writer - Timer/counter Input Event0 Action

Aliased Type§

struct EVACT0_W<'a, REG, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, REG, const O: u8> EVACT0_W<'a, REG, O>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

pub fn off(self) -> &'a mut W<REG>

Event action disabled

source

pub fn retrigger(self) -> &'a mut W<REG>

Start, restart or re-trigger counter on event

source

pub fn countev(self) -> &'a mut W<REG>

Count on event

source

pub fn start(self) -> &'a mut W<REG>

Start counter on event

source

pub fn inc(self) -> &'a mut W<REG>

Increment counter on event

source

pub fn count(self) -> &'a mut W<REG>

Count on active state of asynchronous event

source

pub fn stamp(self) -> &'a mut W<REG>

Stamp capture

source

pub fn fault(self) -> &'a mut W<REG>

Non-recoverable fault