#[repr(u8)]pub enum EdgeMode {
Increment = 1,
Decrement = 2,
Hold = 0,
}
Available on crate feature
unstable
only.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§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)