pub struct R(_);
Expand description
Register TAMPCR
reader
Implementations
sourceimpl R
impl R
sourcepub fn tamp1trg(&self) -> BitReaderRaw<bool>
pub fn tamp1trg(&self) -> BitReaderRaw<bool>
Bit 1 - Active level for RTC_TAMP1 input If TAMPFLT != 00 if TAMPFLT = 00:
sourcepub fn tamp2trg(&self) -> BitReaderRaw<bool>
pub fn tamp2trg(&self) -> BitReaderRaw<bool>
Bit 4 - Active level for RTC_TAMP2 input if TAMPFLT != 00: if TAMPFLT = 00:
sourcepub fn tamp3trg(&self) -> BitReaderRaw<bool>
pub fn tamp3trg(&self) -> BitReaderRaw<bool>
Bit 6 - Active level for RTC_TAMP3 input if TAMPFLT != 00: if TAMPFLT = 00:
sourcepub fn tampts(&self) -> BitReaderRaw<bool>
pub fn tampts(&self) -> BitReaderRaw<bool>
Bit 7 - Activate timestamp on tamper detection event TAMPTS is valid even if TSE=0 in the RTC_CR register.
sourcepub fn tampfreq(&self) -> FieldReaderRaw<u8, u8>
pub fn tampfreq(&self) -> FieldReaderRaw<u8, u8>
Bits 8:10 - Tamper sampling frequency Determines the frequency at which each of the RTC_TAMPx inputs are sampled.
sourcepub fn tampflt(&self) -> FieldReaderRaw<u8, u8>
pub fn tampflt(&self) -> FieldReaderRaw<u8, u8>
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(&self) -> FieldReaderRaw<u8, u8>
pub fn tampprch(&self) -> FieldReaderRaw<u8, u8>
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(&self) -> BitReaderRaw<bool>
pub fn tamppudis(&self) -> BitReaderRaw<bool>
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(&self) -> BitReaderRaw<bool>
pub fn tamp1noerase(&self) -> BitReaderRaw<bool>
Bit 17 - Tamper 1 no erase
sourcepub fn tamp2noerase(&self) -> BitReaderRaw<bool>
pub fn tamp2noerase(&self) -> BitReaderRaw<bool>
Bit 20 - Tamper 2 no erase
sourcepub fn tamp3noerase(&self) -> BitReaderRaw<bool>
pub fn tamp3noerase(&self) -> BitReaderRaw<bool>
Bit 23 - Tamper 3 no erase
Methods from Deref<Target = R<TAMPCR_SPEC>>
sourcepub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.