[][src]Struct stm32wb_pac::rtc::tampcr::R

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 tamp1e(&self) -> TAMP1ER[src]

Bit 0 - Tamper 1 detection enable

pub fn tamp1trg(&self) -> TAMP1TRGR[src]

Bit 1 - Active level for tamper 1

pub fn tampie(&self) -> TAMPIER[src]

Bit 2 - Tamper interrupt enable

pub fn tamp2e(&self) -> TAMP2ER[src]

Bit 3 - Tamper 2 detection enable

pub fn tamp2trg(&self) -> TAMP2TRGR[src]

Bit 4 - Active level for tamper 2

pub fn tamp3e(&self) -> TAMP3ER[src]

Bit 5 - Tamper 3 detection enable

pub fn tamp3trg(&self) -> TAMP3TRGR[src]

Bit 6 - Active level for tamper 3

pub fn tampts(&self) -> TAMPTSR[src]

Bit 7 - Activate timestamp on tamper detection event

pub fn tampfreq(&self) -> TAMPFREQR[src]

Bits 8:10 - Tamper sampling frequency

pub fn tampflt(&self) -> TAMPFLTR[src]

Bits 11:12 - Tamper filter count

pub fn tampprch(&self) -> TAMPPRCHR[src]

Bits 13:14 - Tamper precharge duration

pub fn tamppudis(&self) -> TAMPPUDISR[src]

Bit 15 - TAMPER pull-up disable

pub fn tamp1ie(&self) -> TAMP1IER[src]

Bit 16 - Tamper 1 interrupt enable

pub fn tamp1noerase(&self) -> TAMP1NOERASER[src]

Bit 17 - Tamper 1 no erase

pub fn tamp1mf(&self) -> TAMP1MFR[src]

Bit 18 - Tamper 1 mask flag

pub fn tamp2ie(&self) -> TAMP2IER[src]

Bit 19 - Tamper 2 interrupt enable

pub fn tamp2noerase(&self) -> TAMP2NOERASER[src]

Bit 20 - Tamper 2 no erase

pub fn tamp2mf(&self) -> TAMP2MFR[src]

Bit 21 - Tamper 2 mask flag

pub fn tamp3ie(&self) -> TAMP3IER[src]

Bit 22 - Tamper 3 interrupt enable

pub fn tamp3noerase(&self) -> TAMP3NOERASER[src]

Bit 23 - Tamper 3 no erase

pub fn tamp3mf(&self) -> TAMP3MFR[src]

Bit 24 - Tamper 3 mask flag

Auto Trait Implementations

impl Send for R

impl Sync for R

impl Unpin for R

Blanket Implementations

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T> From<T> for 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