Enum Tampflt
#[repr(u8)]pub enum Tampflt {
NoFilter = 0,
Filter2 = 1,
Filter4 = 2,
Filter8 = 3,
}Variants§
NoFilter = 0
Tamper event is activated on edge of INx input transitions to the active level (no internal pull-up on INx input).
Filter2 = 1
Tamper event is activated after 2 consecutive samples at the active level.
Filter4 = 2
Tamper event is activated after 4 consecutive samples at the active level.
Filter8 = 3
Tamper event is activated after 8 consecutive samples at the active level.
Implementations§
Trait Implementations§
impl Copy for Tampflt
impl Eq for Tampflt
§impl Ord for Tampflt
impl Ord for Tampflt
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for Tampflt
impl PartialOrd for Tampflt
impl StructuralPartialEq for Tampflt
Auto Trait Implementations§
impl Freeze for Tampflt
impl RefUnwindSafe for Tampflt
impl Send for Tampflt
impl Sync for Tampflt
impl Unpin for Tampflt
impl UnsafeUnpin for Tampflt
impl UnwindSafe for Tampflt
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