Struct stm32f072_hal::stm32::rtc::cr::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 3 - Time-stamp event active edge

Bit 4 - RTC_REFIN reference clock detection enable (50 or 60 Hz)

Bit 5 - Bypass the shadow registers

Bit 6 - Hour format

Bit 8 - Alarm A enable

Bit 11 - timestamp enable

Bit 12 - Alarm A interrupt enable

Bit 15 - Time-stamp interrupt enable

Bit 16 - Add 1 hour (summer time change)

Bit 17 - Subtract 1 hour (winter time change)

Bit 18 - Backup

Bit 19 - Calibration output selection

Bit 20 - Output polarity

Bits 21:22 - Output selection

Bit 23 - Calibration output 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.