Type Alias ModeW

Source
pub type ModeW<'a, REG> = FieldWriter<'a, REG, 2, Modeselect>;
Expand description

Field MODE writer - Operation Mode

Aliased Type§

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

Implementations§

Source§

impl<'a, REG> ModeW<'a, REG>
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