atsamd21j::tcc0::ctrlbset

Type Alias CmdW

Source
pub type CmdW<'a, REG> = FieldWriter<'a, REG, 3, Cmdselect>;
Expand description

Field CMD writer - TCC Command

Aliased Type§

struct CmdW<'a, REG> { /* private fields */ }

Implementations§

Source§

impl<'a, REG> CmdW<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

Source

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

No action

Source

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

Clear start, restart or retrigger

Source

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

Force stop

Source

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

Force update of double buffered registers

Source

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

Force COUNT read synchronization