Type Alias atsamd51p::tcc0::evctrl::EVACT1_W

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

Field EVACT1 writer - Timer/counter Input Event1 Action

Aliased Type§

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

Implementations§

source§

impl<'a, REG, const O: u8> EVACT1_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>

Re-trigger counter on event

source

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

Direction control

source

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

Stop counter on event

source

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

Decrement counter on event

source

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

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

source

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

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

source

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

Non-recoverable fault