Enum stm32_metapac::tamp::vals::Tamptrg
#[repr(u8)]pub enum Tamptrg {
FILTEREDLOWORUNFILTEREDHIGH = 0,
FILTEREDHIGHORUNFILTEREDLOW = 1,
}
Variants§
FILTEREDLOWORUNFILTEREDHIGH = 0
If TAMPFLT != 00 Tamper x input staying low triggers a tamper detection event. If TAMPFLT = 00 Tamper x input rising edge and high level triggers a tamper detection event
FILTEREDHIGHORUNFILTEREDLOW = 1
If TAMPFLT != 00 Tamper x input staying high triggers a tamper detection event. If TAMPFLT = 00 Tamper x input falling edge and low level triggers a tamper detection event
Implementations§
Trait Implementations§
§impl Ord for Tamptrg
impl Ord for Tamptrg
§impl PartialOrd for Tamptrg
impl PartialOrd for Tamptrg
§fn partial_cmp(&self, other: &Tamptrg) -> Option<Ordering>
fn partial_cmp(&self, other: &Tamptrg) -> 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 Tamptrg
impl Eq for Tamptrg
impl StructuralEq for Tamptrg
impl StructuralPartialEq for Tamptrg
Auto Trait Implementations§
impl RefUnwindSafe for Tamptrg
impl Send for Tamptrg
impl Sync for Tamptrg
impl Unpin for Tamptrg
impl UnwindSafe for Tamptrg
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