[][src]Struct stm32h7::stm32h743v::rtc::tampcr::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

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 - RTC_TAMP1 input detection enable

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

Bit 1 - Active level for RTC_TAMP1 input If TAMPFLT != 00 if TAMPFLT = 00:

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

Bit 2 - Tamper interrupt enable

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

Bit 3 - RTC_TAMP2 input detection enable

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

Bit 4 - Active level for RTC_TAMP2 input if TAMPFLT != 00: if TAMPFLT = 00:

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

Bit 5 - RTC_TAMP3 detection enable

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

Bit 6 - Active level for RTC_TAMP3 input if TAMPFLT != 00: if TAMPFLT = 00:

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

Bit 7 - Activate timestamp on tamper detection event TAMPTS is valid even if TSE=0 in the RTC_CR register.

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

Bits 8:10 - Tamper sampling frequency Determines the frequency at which each of the RTC_TAMPx inputs are sampled.

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

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.

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

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.

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

Bit 15 - RTC_TAMPx pull-up disable This bit determines if each of the RTC_TAMPx pins are pre-charged before each sample.

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