Enum stm32_metapac::rtc::vals::Tamptrg
#[repr(u8)]pub enum Tamptrg {
RISINGEDGE = 0,
FALLINGEDGE = 1,
}
Variants§
RISINGEDGE = 0
If TAMPFLT = 00: RTC_TAMPx input rising edge triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input staying low triggers a tamper detection event.
FALLINGEDGE = 1
If TAMPFLT = 00: RTC_TAMPx input staying high triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input falling edge 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