#[repr(u8)]pub enum SETIF_A {
NONE = 0,
LEVEL = 1,
POSEDGE = 2,
NEGEDGE = 3,
}
Expand description
Enable interrupt generation
Value on reset: 0
Variants§
NONE = 0
0: No interrupt is generated
LEVEL = 1
1: Set interrupt flag if the sensor triggers.
POSEDGE = 2
2: Set interrupt flag on positive edge on the sensor state
NEGEDGE = 3
3: Set interrupt flag on negative edge on the sensor state
Trait Implementations§
impl Copy for SETIF_A
impl StructuralPartialEq for SETIF_A
Auto Trait Implementations§
impl Freeze for SETIF_A
impl RefUnwindSafe for SETIF_A
impl Send for SETIF_A
impl Sync for SETIF_A
impl Unpin for SETIF_A
impl UnwindSafe for SETIF_A
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