Enum efm32lg390_pac::pcnt1::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
sourceimpl Clone for AUXCNTEV_A
impl Clone for AUXCNTEV_A
sourcefn clone(&self) -> AUXCNTEV_A
fn clone(&self) -> AUXCNTEV_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AUXCNTEV_A
impl Debug for AUXCNTEV_A
sourceimpl From<AUXCNTEV_A> for u8
impl From<AUXCNTEV_A> for u8
sourcefn from(variant: AUXCNTEV_A) -> Self
fn from(variant: AUXCNTEV_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<AUXCNTEV_A> for AUXCNTEV_A
impl PartialEq<AUXCNTEV_A> for AUXCNTEV_A
impl Copy for AUXCNTEV_A
impl StructuralPartialEq for AUXCNTEV_A
Auto Trait Implementations
impl RefUnwindSafe for AUXCNTEV_A
impl Send for AUXCNTEV_A
impl Sync for AUXCNTEV_A
impl Unpin for AUXCNTEV_A
impl UnwindSafe for AUXCNTEV_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more