Type Alias ModeR

Source
pub type ModeR = FieldReader<Modeselect>;
Expand description

Field MODE reader - Operation Mode

Aliased Type§

struct ModeR { /* private fields */ }

Implementations§

Source§

impl ModeR

Source

pub const fn variant(&self) -> Option<Modeselect>

Get enumerated values variant

Source

pub fn is_qdec(&self) -> bool

QDEC operating mode

Source

pub fn is_hall(&self) -> bool

HALL operating mode

Source

pub fn is_counter(&self) -> bool

COUNTER operating mode