Enum efr32x12p::pcnt1::ctrl::MODER
[−]
[src]
pub enum MODER { DISABLE, OVSSINGLE, EXTCLKSINGLE, EXTCLKQUAD, OVSQUAD1X, OVSQUAD2X, OVSQUAD4X, _Reserved(u8), }
Possible values of the field MODE
Variants
DISABLE
The module is disabled.
OVSSINGLE
Single input LFACLK oversampling mode (available in EM0-EM3).
EXTCLKSINGLE
Externally clocked single input counter mode (available in EM0-EM3).
EXTCLKQUAD
Externally clocked quadrature decoder mode (available in EM0-EM3).
OVSQUAD1X
LFACLK oversampling quadrature decoder 1X mode (available in EM0-EM3).
OVSQUAD2X
LFACLK oversampling quadrature decoder 2X mode (available in EM0-EM3).
OVSQUAD4X
LFACLK oversampling quadrature decoder 4X mode (available in EM0-EM3).
_Reserved(u8)
Reserved
Methods
impl MODER
[src]
fn bits(&self) -> u8
[src]
Value of the field as raw bits
fn is_disable(&self) -> bool
[src]
Checks if the value of the field is DISABLE
fn is_ovssingle(&self) -> bool
[src]
Checks if the value of the field is OVSSINGLE
fn is_extclksingle(&self) -> bool
[src]
Checks if the value of the field is EXTCLKSINGLE
fn is_extclkquad(&self) -> bool
[src]
Checks if the value of the field is EXTCLKQUAD
fn is_ovsquad1x(&self) -> bool
[src]
Checks if the value of the field is OVSQUAD1X
fn is_ovsquad2x(&self) -> bool
[src]
Checks if the value of the field is OVSQUAD2X
fn is_ovsquad4x(&self) -> bool
[src]
Checks if the value of the field is OVSQUAD4X
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