#[repr(u8)]pub enum EDGE_MODE {
Increment = 1,
Decrement = 2,
Hold = 0,
}
Expand description
Configures the behavior when the signal input of channel %s detects a negative edge.
Value on reset: 0
Variants§
Increment = 1
1: Increase the counter
Decrement = 2
2: Decrease the counter
Hold = 0
0: No effect on counter
Trait Implementations§
impl Copy for EDGE_MODE
impl Eq for EDGE_MODE
impl IsEnum for EDGE_MODE
impl StructuralPartialEq for EDGE_MODE
Auto Trait Implementations§
impl Freeze for EDGE_MODE
impl RefUnwindSafe for EDGE_MODE
impl Send for EDGE_MODE
impl Sync for EDGE_MODE
impl Unpin for EDGE_MODE
impl UnwindSafe for EDGE_MODE
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