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

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register

pub fn tamp1e(&mut self) -> _TAMP1EW[src]

Bit 0 - Tamper 1 detection enable

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

Bit 1 - Active level for tamper 1

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

Bit 2 - Tamper interrupt enable

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

Bit 3 - Tamper 2 detection enable

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

Bit 4 - Active level for tamper 2

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

Bit 5 - Tamper 3 detection enable

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

Bit 6 - Active level for tamper 3

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

Bit 7 - Activate timestamp on tamper detection event

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

Bits 8:10 - Tamper sampling frequency

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

Bits 11:12 - Tamper filter count

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

Bits 13:14 - Tamper precharge duration

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

Bit 15 - TAMPER pull-up disable

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

Bit 16 - Tamper 1 interrupt enable

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

Bit 17 - Tamper 1 no erase

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

Bit 18 - Tamper 1 mask flag

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

Bit 19 - Tamper 2 interrupt enable

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

Bit 20 - Tamper 2 no erase

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

Bit 21 - Tamper 2 mask flag

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

Bit 22 - Tamper 3 interrupt enable

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

Bit 23 - Tamper 3 no erase

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

Bit 24 - Tamper 3 mask flag

Auto Trait Implementations

impl Unpin for W

impl Send for W

impl Sync for W

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