pub struct W(_);
Expand description
Register TAMPCR
writer
Implementations
sourceimpl W
impl W
sourcepub fn tamp1trg(&mut self) -> TAMP1TRG_W<'_, 1>
pub fn tamp1trg(&mut self) -> TAMP1TRG_W<'_, 1>
Bit 1 - Active level for RTC_TAMP1 input If TAMPFLT != 00 if TAMPFLT = 00:
sourcepub fn tamp2trg(&mut self) -> TAMP2TRG_W<'_, 4>
pub fn tamp2trg(&mut self) -> TAMP2TRG_W<'_, 4>
Bit 4 - Active level for RTC_TAMP2 input if TAMPFLT != 00: if TAMPFLT = 00:
sourcepub fn tamp3trg(&mut self) -> TAMP3TRG_W<'_, 6>
pub fn tamp3trg(&mut self) -> TAMP3TRG_W<'_, 6>
Bit 6 - Active level for RTC_TAMP3 input if TAMPFLT != 00: if TAMPFLT = 00:
sourcepub fn tampts(&mut self) -> TAMPTS_W<'_, 7>
pub fn tampts(&mut self) -> TAMPTS_W<'_, 7>
Bit 7 - Activate timestamp on tamper detection event TAMPTS is valid even if TSE=0 in the RTC_CR register.
sourcepub fn tampfreq(&mut self) -> TAMPFREQ_W<'_, 8>
pub fn tampfreq(&mut self) -> TAMPFREQ_W<'_, 8>
Bits 8:10 - Tamper sampling frequency Determines the frequency at which each of the RTC_TAMPx inputs are sampled.
sourcepub fn tampflt(&mut self) -> TAMPFLT_W<'_, 11>
pub fn tampflt(&mut self) -> TAMPFLT_W<'_, 11>
Bits 11:12 - RTC_TAMPx filter count These bits determines the number of consecutive samples at the specified level (TAMP*TRG) needed to activate a Tamper event. TAMPFLT is valid for each of the RTC_TAMPx inputs.
sourcepub fn tampprch(&mut self) -> TAMPPRCH_W<'_, 13>
pub fn tampprch(&mut self) -> TAMPPRCH_W<'_, 13>
Bits 13:14 - RTC_TAMPx precharge duration These bit determines the duration of time during which the pull-up/is activated before each sample. TAMPPRCH is valid for each of the RTC_TAMPx inputs.
sourcepub fn tamppudis(&mut self) -> TAMPPUDIS_W<'_, 15>
pub fn tamppudis(&mut self) -> TAMPPUDIS_W<'_, 15>
Bit 15 - RTC_TAMPx pull-up disable This bit determines if each of the RTC_TAMPx pins are pre-charged before each sample.
sourcepub fn tamp1noerase(&mut self) -> TAMP1NOERASE_W<'_, 17>
pub fn tamp1noerase(&mut self) -> TAMP1NOERASE_W<'_, 17>
Bit 17 - Tamper 1 no erase
sourcepub fn tamp2noerase(&mut self) -> TAMP2NOERASE_W<'_, 20>
pub fn tamp2noerase(&mut self) -> TAMP2NOERASE_W<'_, 20>
Bit 20 - Tamper 2 no erase
sourcepub fn tamp3noerase(&mut self) -> TAMP3NOERASE_W<'_, 23>
pub fn tamp3noerase(&mut self) -> TAMP3NOERASE_W<'_, 23>
Bit 23 - Tamper 3 no erase
Methods from Deref<Target = W<TAMPCR_SPEC>>
Trait Implementations
sourceimpl From<W<TAMPCR_SPEC>> for W
impl From<W<TAMPCR_SPEC>> for W
sourcefn from(writer: W<TAMPCR_SPEC>) -> Self
fn from(writer: W<TAMPCR_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
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