#[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§
source§impl PartialEq for EDGE_MODE
impl PartialEq for EDGE_MODE
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)