Struct stm32f042_hal::stm32::rtc::tafcr::W

source ·
pub struct W { /* private fields */ }
Expand description

Value to write to the register

Implementations§

Reset value of the register

Writes raw bits to the register

Bit 23 - PC15 mode

Bit 22 - PC15 value

Bit 21 - PC14 mode

Bit 20 - PC14 value

Bit 19 - PC13 mode

Bit 18 - RTC_ALARM output type/PC13 value

Bit 15 - RTC_TAMPx pull-up disable

Bits 13:14 - RTC_TAMPx precharge duration

Bits 11:12 - RTC_TAMPx filter count

Bits 8:10 - Tamper sampling frequency

Bit 7 - Activate timestamp on tamper detection event

Bit 4 - Active level for RTC_TAMP2 input

Bit 3 - RTC_TAMP2 input detection enable

Bit 2 - Tamper interrupt enable

Bit 1 - Active level for RTC_TAMP1 input

Bit 0 - RTC_TAMP1 input detection enable

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.

Should always be Self
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.