Enum alt_stm32f30x_hal::pac::rtc::tafcr::TAMP1TRG_A
source · [−]pub enum TAMP1TRG_A {
RISINGEDGE,
FALLINGEDGE,
}
Expand description
Active level for tamper 1
Value on reset: 0
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
Trait Implementations
sourceimpl Clone for TAMP1TRG_A
impl Clone for TAMP1TRG_A
sourcefn clone(&self) -> TAMP1TRG_A
fn clone(&self) -> TAMP1TRG_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TAMP1TRG_A
impl Debug for TAMP1TRG_A
sourceimpl PartialEq<TAMP1TRG_A> for TAMP1TRG_A
impl PartialEq<TAMP1TRG_A> for TAMP1TRG_A
impl Copy for TAMP1TRG_A
impl StructuralPartialEq for TAMP1TRG_A
Auto Trait Implementations
impl RefUnwindSafe for TAMP1TRG_A
impl Send for TAMP1TRG_A
impl Sync for TAMP1TRG_A
impl Unpin for TAMP1TRG_A
impl UnwindSafe for TAMP1TRG_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more