Type Alias atsame54n::tc0::count16::ctrlbclr::CMD_W

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

Field CMD writer - 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>

Force a start, restart or retrigger

source

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

Force a stop

source

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

Force update of double-buffered register

source

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

Force a read synchronization of COUNT

source

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

One-shot DMA trigger