Struct alt_stm32f30x_hal::pac::rtc::tafcr::TAMP3TRG_W
source · [−]pub struct TAMP3TRG_W<'a> { /* private fields */ }
Expand description
Field TAMP3TRG
writer - Active level for tamper 3
Implementations
sourceimpl<'a> TAMP3TRG_W<'a>
impl<'a> TAMP3TRG_W<'a>
sourcepub fn variant(self, variant: TAMP1TRG_A) -> &'a mut W
pub fn variant(self, variant: TAMP1TRG_A) -> &'a mut W
Writes variant
to the field
sourcepub fn rising_edge(self) -> &'a mut W
pub fn rising_edge(self) -> &'a mut W
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.
sourcepub fn falling_edge(self) -> &'a mut W
pub fn falling_edge(self) -> &'a mut W
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
Auto Trait Implementations
impl<'a> RefUnwindSafe for TAMP3TRG_W<'a>
impl<'a> Send for TAMP3TRG_W<'a>
impl<'a> Sync for TAMP3TRG_W<'a>
impl<'a> Unpin for TAMP3TRG_W<'a>
impl<'a> !UnwindSafe for TAMP3TRG_W<'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