pub struct W(_);
Expand description

Register TAMPCR writer

Implementations

Bit 0 - RTC_TAMP1 input detection enable

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

Bit 2 - Tamper interrupt enable

Bit 3 - RTC_TAMP2 input detection enable

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

Bit 5 - RTC_TAMP3 detection enable

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

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

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

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.

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.

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

Bit 16 - Tamper 1 interrupt enable

Bit 17 - Tamper 1 no erase

Bit 18 - Tamper 1 mask flag

Bit 19 - Tamper 2 interrupt enable

Bit 20 - Tamper 2 no erase

Bit 21 - Tamper 2 mask flag

Bit 22 - Tamper 3 interrupt enable

Bit 23 - Tamper 3 no erase

Bit 24 - Tamper 3 mask flag

Writes raw bits to the register.

Methods from Deref<Target = W<TAMPCR_SPEC>>

Writes raw bits to the register.

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

Converts to this type from the input type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.