pub struct W(_);
Expand description

Register CR writer

Implementations

Bits 0:2 - Wakeup clock selection

Bit 3 - Time-stamp event active edge TSE must be reset when TSEDGE is changed to avoid unwanted TSF setting.

Bit 4 - RTC_REFIN reference clock detection enable (50 or 60Hz) Note: PREDIV_S must be 0x00FF.

Bit 5 - Bypass the shadow registers Note: If the frequency of the APB clock is less than seven times the frequency of RTCCLK, BYPSHAD must be set to 1.

Bit 6 - Hour format

Bit 8 - Alarm A enable

Bit 9 - Alarm B enable

Bit 10 - Wakeup timer enable

Bit 11 - timestamp 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) When this bit is set outside initialization mode, 1 hour is added to the calendar time. This bit is always read as 0.

Bit 17 - Subtract 1 hour (winter time change) When this bit is set outside initialization mode, 1 hour is subtracted to the calendar time if the current hour is not 0. This bit is always read as 0. Setting this bit has no effect when current hour is 0.

Bit 18 - Backup This bit can be written by the user to memorize whether the daylight saving time change has been performed or not.

Bit 19 - Calibration output selection When COE=1, this bit selects which signal is output on RTC_CALIB. These frequencies are valid for RTCCLK at 32.768 kHz and prescalers at their default values (PREDIV_A=127 and PREDIV_S=255). Refer to Section24.3.15: Calibration clock output

Bit 20 - Output polarity This bit is used to configure the polarity of RTC_ALARM output

Bits 21:22 - Output selection These bits are used to select the flag to be routed to RTC_ALARM output

Bit 23 - Calibration output enable This bit enables the RTC_CALIB output

Bit 24 - timestamp on internal event enable

Writes raw bits to the register.

Methods from Deref<Target = W<CR_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.