Type Alias atsame54n::pdec::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 counter restart or retrigger

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 a read synchronization of COUNT

source

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

Start QDEC/HALL

source

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

Stop QDEC/HALL