#[repr(u8)]pub enum Sense0select {
None = 0,
Rise = 1,
Fall = 2,
Both = 3,
High = 4,
Low = 5,
}
Expand description
Input Sense 0 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 Sense0select
impl Clone for Sense0select
Source§fn clone(&self) -> Sense0select
fn clone(&self) -> Sense0select
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 Sense0select
impl Debug for Sense0select
Source§impl From<Sense0select> for u8
impl From<Sense0select> for u8
Source§fn from(variant: Sense0select) -> Self
fn from(variant: Sense0select) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Sense0select
impl PartialEq for Sense0select
impl Copy for Sense0select
impl Eq for Sense0select
impl IsEnum for Sense0select
impl StructuralPartialEq for Sense0select
Auto Trait Implementations§
impl Freeze for Sense0select
impl RefUnwindSafe for Sense0select
impl Send for Sense0select
impl Sync for Sense0select
impl Unpin for Sense0select
impl UnwindSafe for Sense0select
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