#[repr(u8)]
pub enum SENSE5_A {
NONE,
RISE,
FALL,
BOTH,
HIGH,
LOW,
}
Expand description
Input Sense Configuration 5
Value on reset: 0
Variants
NONE
0: No detection
RISE
1: Rising edge detection
FALL
2: Falling edge detection
BOTH
3: Both edges detection
HIGH
4: High level detection
LOW
5: Low level detection
Trait Implementations
impl Copy for SENSE5_A
impl StructuralPartialEq for SENSE5_A
Auto Trait Implementations
impl RefUnwindSafe for SENSE5_A
impl Send for SENSE5_A
impl Sync for SENSE5_A
impl Unpin for SENSE5_A
impl UnwindSafe for SENSE5_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more