Enum 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 Copy for Tamptrg
impl Eq for Tamptrg
§impl Ord for Tamptrg
impl Ord for Tamptrg
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for Tamptrg
impl PartialOrd for Tamptrg
impl StructuralPartialEq for Tamptrg
Auto Trait Implementations§
impl Freeze for Tamptrg
impl RefUnwindSafe for Tamptrg
impl Send for Tamptrg
impl Sync for Tamptrg
impl Unpin for Tamptrg
impl UnsafeUnpin 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