[][src]Enum efm32pg12_pac::pcnt0::ctrl::CNTEV_A

#[repr(u8)]
pub enum CNTEV_A {
    BOTH,
    UP,
    DOWN,
    NONE,
}

Controls When the Counter Counts

Value on reset: 0

Variants

BOTH

0: Counts up on up-count and down on down-count events.

UP

1: Only counts up on up-count events.

DOWN

2: Only counts down on down-count events.

NONE

3: Never counts.

Trait Implementations

impl Clone for CNTEV_A[src]

impl Copy for CNTEV_A[src]

impl Debug for CNTEV_A[src]

impl From<CNTEV_A> for u8[src]

impl PartialEq<CNTEV_A> for CNTEV_A[src]

impl StructuralPartialEq for CNTEV_A[src]

Auto Trait Implementations

impl Send for CNTEV_A

impl Sync for CNTEV_A

impl Unpin for CNTEV_A

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.