Struct stm32f30x::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

Bits 0:2 - Wakeup clock selection

Bit 3 - Time-stamp event active edge

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

Bit 5 - Bypass the shadow registers

Bit 6 - Hour format

Bit 8 - Alarm A enable

Bit 9 - Alarm B enable

Bit 10 - Wakeup timer enable

Bit 11 - Time stamp enable

Bit 12 - Alarm A interrupt enable

Bit 13 - Alarm B interrupt enable

Bit 14 - Wakeup timer 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.