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
impl Copy for Tamptrg
impl Eq 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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)