Type Alias atsame54n::pdec::ctrla::MODE_W

source ·
pub type MODE_W<'a, REG, const O: u8> = FieldWriter<'a, REG, 2, O, MODESELECT_A>;
Expand description

Field MODE writer - Operation Mode

Aliased Type§

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

Implementations§

source§

impl<'a, REG, const O: u8> MODE_W<'a, REG, O>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

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

QDEC operating mode

source

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

HALL operating mode

source

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

COUNTER operating mode