Type Alias MODE_R

Source
pub type MODE_R = FieldReader<u8, MODE_A>;
Expand description

Field MODE reader - Timer Mode

Aliased Type§

pub struct MODE_R { /* private fields */ }

Implementations§

Source§

impl MODE_R

Source

pub fn variant(&self) -> MODE_A

Get enumerated values variant

Source

pub fn is_up(&self) -> bool

Checks if the value of the field is UP

Source

pub fn is_down(&self) -> bool

Checks if the value of the field is DOWN

Source

pub fn is_updown(&self) -> bool

Checks if the value of the field is UPDOWN

Source

pub fn is_qdec(&self) -> bool

Checks if the value of the field is QDEC