Type Alias atsame54n::tcc0::ctrlbset::CMD_W

source ·
pub type CMD_W<'a, REG, const O: u8> = FieldWriter<'a, REG, 3, O, CMDSELECT_A>;
Expand description

Field CMD writer - TCC Command

Aliased Type§

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

Implementations§

source§

impl<'a, REG, const O: u8> CMD_W<'a, REG, O>
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 or double buffered registers

source

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

Force COUNT read synchronization

source

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

One-shot DMA trigger