#[repr(u8)]
pub enum SENSE2_A {
NONE,
RISE,
FALL,
BOTH,
HIGH,
LOW,
}
Expand description
Input Sense Configuration 2
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 SENSE2_A
impl StructuralPartialEq for SENSE2_A
Auto Trait Implementations
impl RefUnwindSafe for SENSE2_A
impl Send for SENSE2_A
impl Sync for SENSE2_A
impl Unpin for SENSE2_A
impl UnwindSafe for SENSE2_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