Type Alias atsame54n::tc0::count32::evctrl::EVACT_W

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

Field EVACT writer - Event Action

Aliased Type§

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

Implementations§

source§

impl<'a, REG, const O: u8> EVACT_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 retrigger TC on event

source

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

Count on event

source

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

Start TC on event

source

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

Time stamp capture

source

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

Period catured in CC0, pulse width in CC1

source

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

Period catured in CC1, pulse width in CC0

source

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

Pulse width capture