Enum efm32lg390_pac::lesense::ch8_interact::SETIF_A
source · [−]#[repr(u8)]
pub enum SETIF_A {
NONE,
LEVEL,
POSEDGE,
NEGEDGE,
}
Expand description
Enable interrupt generation
Value on reset: 0
Variants
NONE
0: No interrupt is generated
LEVEL
1: Set interrupt flag if the sensor triggers.
POSEDGE
2: Set interrupt flag on positive edge on the sensor state
NEGEDGE
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 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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