Struct stm32l0x3::rtc::tampcr::R
[−]
[src]
pub struct R { /* fields omitted */ }
Value read from the register
Methods
impl R
[src]
pub fn bits(&self) -> u32
[src]
Value of the register as raw bits
pub fn tamp2mf(&self) -> TAMP2MFR
[src]
Bit 21 - Tamper 2 mask flag
pub fn tamp2noerase(&self) -> TAMP2NOERASER
[src]
Bit 20 - Tamper 2 no erase
pub fn tamp2ie(&self) -> TAMP2IER
[src]
Bit 19 - Tamper 2 interrupt enable
pub fn tamp1mf(&self) -> TAMP1MFR
[src]
Bit 18 - Tamper 1 mask flag
pub fn tamp1noerase(&self) -> TAMP1NOERASER
[src]
Bit 17 - Tamper 1 no erase
pub fn tamp1ie(&self) -> TAMP1IER
[src]
Bit 16 - Tamper 1 interrupt enable
pub fn tamppudis(&self) -> TAMPPUDISR
[src]
Bit 15 - RTC_TAMPx pull-up disable
pub fn tampprch(&self) -> TAMPPRCHR
[src]
Bits 13:14 - RTC_TAMPx precharge duration
pub fn tampflt(&self) -> TAMPFLTR
[src]
Bits 11:12 - RTC_TAMPx filter count
pub fn tampfreq(&self) -> TAMPFREQR
[src]
Bits 8:10 - Tamper sampling frequency
pub fn tampts(&self) -> TAMPTSR
[src]
Bit 7 - Activate timestamp on tamper detection event
pub fn tamp2_trg(&self) -> TAMP2_TRGR
[src]
Bit 4 - Active level for RTC_TAMP2 input
pub fn tamp2e(&self) -> TAMP2ER
[src]
Bit 3 - RTC_TAMP2 input detection enable
pub fn tampie(&self) -> TAMPIER
[src]
Bit 2 - Tamper interrupt enable
pub fn tamp1trg(&self) -> TAMP1TRGR
[src]
Bit 1 - Active level for RTC_TAMP1 input
pub fn tamp1e(&self) -> TAMP1ER
[src]
Bit 0 - RTC_TAMP1 input detection enable