#[repr(u8)]
pub enum CNTEV_A {
BOTH,
UP,
DOWN,
NONE,
}
Expand description
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 Copy for CNTEV_A
impl StructuralPartialEq for CNTEV_A
Auto Trait Implementations
impl RefUnwindSafe for CNTEV_A
impl Send for CNTEV_A
impl Sync for CNTEV_A
impl Unpin for CNTEV_A
impl UnwindSafe for CNTEV_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