#[repr(u8)]pub enum Sense1select {
None = 0,
Rise = 1,
Fall = 2,
Both = 3,
High = 4,
Low = 5,
}
Expand description
Input Sense 1 Configuration
Value on reset: 0
Variants§
None = 0
0: No detection
Rise = 1
1: Rising edge detection
Fall = 2
2: Falling edge detection
Both = 3
3: Both edges detection
High = 4
4: High level detection
Low = 5
5: Low level detection
Trait Implementations§
Source§impl Clone for Sense1select
impl Clone for Sense1select
Source§fn clone(&self) -> Sense1select
fn clone(&self) -> Sense1select
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Sense1select
impl Debug for Sense1select
Source§impl From<Sense1select> for u8
impl From<Sense1select> for u8
Source§fn from(variant: Sense1select) -> Self
fn from(variant: Sense1select) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Sense1select
impl PartialEq for Sense1select
impl Copy for Sense1select
impl Eq for Sense1select
impl IsEnum for Sense1select
impl StructuralPartialEq for Sense1select
Auto Trait Implementations§
impl Freeze for Sense1select
impl RefUnwindSafe for Sense1select
impl Send for Sense1select
impl Sync for Sense1select
impl Unpin for Sense1select
impl UnwindSafe for Sense1select
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