[][src]Enum efr32xg1::pcnt0::ctrl::MODER

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]

pub fn bits(&self) -> u8
[src]

Value of the field as raw bits

pub fn is_disable(&self) -> bool
[src]

Checks if the value of the field is DISABLE

pub fn is_ovssingle(&self) -> bool
[src]

Checks if the value of the field is OVSSINGLE

pub fn is_extclksingle(&self) -> bool
[src]

Checks if the value of the field is EXTCLKSINGLE

pub fn is_extclkquad(&self) -> bool
[src]

Checks if the value of the field is EXTCLKQUAD

pub fn is_ovsquad1x(&self) -> bool
[src]

Checks if the value of the field is OVSQUAD1X

pub fn is_ovsquad2x(&self) -> bool
[src]

Checks if the value of the field is OVSQUAD2X

pub fn is_ovsquad4x(&self) -> bool
[src]

Checks if the value of the field is OVSQUAD4X

Trait Implementations

impl Copy for MODER
[src]

impl PartialEq<MODER> for MODER
[src]

impl Clone for MODER
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for MODER
[src]

Auto Trait Implementations

impl Send for MODER

impl Sync for MODER

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]