Enum stm32_metapac::tamp::vals::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 Ord for Tampflt
impl Ord for Tampflt
§impl PartialOrd for Tampflt
impl PartialOrd for Tampflt
§fn partial_cmp(&self, other: &Tampflt) -> Option<Ordering>
fn partial_cmp(&self, other: &Tampflt) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Tampflt
impl Eq for Tampflt
impl StructuralEq for Tampflt
impl StructuralPartialEq for Tampflt
Auto Trait Implementations§
impl RefUnwindSafe for Tampflt
impl Send for Tampflt
impl Sync for Tampflt
impl Unpin 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