[][src]Enum stm32l0xx_hal::pac::rtc::tampcr::TAMP2TRG_A

pub enum TAMP2TRG_A {
    RISINGEDGE,
    FALLINGEDGE,
}

Active level for RTC_TAMP2 input

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

impl PartialEq<TAMP2TRG_A> for TAMP2TRG_A[src]

impl StructuralPartialEq for TAMP2TRG_A[src]

impl Debug for TAMP2TRG_A[src]

impl Copy for TAMP2TRG_A[src]

impl Clone for TAMP2TRG_A[src]

Auto Trait Implementations

impl Unpin for TAMP2TRG_A

impl Send for TAMP2TRG_A

impl Sync for TAMP2TRG_A

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self