#[repr(u8)]pub enum CNTEV_A {
BOTH = 0,
UP = 1,
DOWN = 2,
NONE = 3,
}
Expand description
Controls when the counter counts
Value on reset: 0
Variants§
BOTH = 0
0: Counts up on up-count and down on down-count events.
UP = 1
1: Only counts up on up-count events.
DOWN = 2
2: Only counts down on down-count events.
NONE = 3
3: Never counts.
Trait Implementations§
impl Copy for CNTEV_A
impl StructuralPartialEq for CNTEV_A
Auto Trait Implementations§
impl Freeze for CNTEV_A
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more