Enum stm32_metapac::rtc::vals::Tampflt
#[repr(u8)]pub enum Tampflt {
IMMEDIATE = 0,
SAMPLES2 = 1,
SAMPLES4 = 2,
SAMPLES8 = 3,
}
Variants§
IMMEDIATE = 0
Tamper event is activated on edge of RTC_TAMPx input transitions to the active level (no internal pull-up on RTC_TAMPx input)
SAMPLES2 = 1
Tamper event is activated after 2 consecutive samples at the active level
SAMPLES4 = 2
Tamper event is activated after 4 consecutive samples at the active level
SAMPLES8 = 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