Enum efm32gg11b_pac::efm32gg11b110::pcnt2::ctrl::AUXCNTEV_A
source · #[repr(u8)]
pub enum AUXCNTEV_A {
NONE,
UP,
DOWN,
BOTH,
}
Expand description
Controls When the Auxiliary Counter Counts
Value on reset: 0
Variants§
NONE
0: Never counts.
UP
1: Counts up on up-count events.
DOWN
2: Counts up on down-count events.
BOTH
3: Counts up on both up-count and down-count events.
Trait Implementations§
source§impl Clone for AUXCNTEV_A
impl Clone for AUXCNTEV_A
source§fn clone(&self) -> AUXCNTEV_A
fn clone(&self) -> AUXCNTEV_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AUXCNTEV_A
impl Debug for AUXCNTEV_A
source§impl From<AUXCNTEV_A> for u8
impl From<AUXCNTEV_A> for u8
source§fn from(variant: AUXCNTEV_A) -> Self
fn from(variant: AUXCNTEV_A) -> Self
Converts to this type from the input type.
source§impl PartialEq<AUXCNTEV_A> for AUXCNTEV_A
impl PartialEq<AUXCNTEV_A> for AUXCNTEV_A
source§fn eq(&self, other: &AUXCNTEV_A) -> bool
fn eq(&self, other: &AUXCNTEV_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.