Enum efm32hg222f64::timer0::ctrl::MODER
[−]
[src]
pub enum MODER { UP, DOWN, UPDOWN, QDEC, }
Possible values of the field MODE
Variants
UP
Up-count mode
DOWN
Down-count mode
UPDOWN
Up/down-count mode
QDEC
Quadrature decoder mode
Methods
impl MODER
[src]
fn bits(&self) -> u8
[src]
Value of the field as raw bits
fn is_up(&self) -> bool
[src]
Checks if the value of the field is UP
fn is_down(&self) -> bool
[src]
Checks if the value of the field is DOWN
fn is_updown(&self) -> bool
[src]
Checks if the value of the field is UPDOWN
fn is_qdec(&self) -> bool
[src]
Checks if the value of the field is QDEC
Trait Implementations
impl Clone for MODER
[src]
fn clone(&self) -> MODER
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more