Type Alias atsame54n::pdec::ctrla::MODE_R

source ·
pub type MODE_R = FieldReader<MODESELECT_A>;
Expand description

Field MODE reader - Operation Mode

Aliased Type§

struct MODE_R { /* private fields */ }

Implementations§

source§

impl MODE_R

source

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

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