#[repr(u8)]pub enum Filter {
NoFilter = 0,
Filter2 = 1,
Filter4 = 2,
Filter8 = 3,
}Expand description
Tamper input debounce filter, shared by all external tamper channels (FLTCR.TAMPFLT).
Variants§
NoFilter = 0
Tamper event is activated on the edge of the input transitioning to the active level (no internal pull-up).
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.
Trait Implementations§
impl Copy for Filter
impl Eq for Filter
impl StructuralPartialEq for Filter
Auto Trait Implementations§
impl Freeze for Filter
impl RefUnwindSafe for Filter
impl Send for Filter
impl Sync for Filter
impl Unpin for Filter
impl UnwindSafe for Filter
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