pub struct W(_);
Expand description
Register CR
writer
Implementations
sourceimpl W
impl W
sourcepub fn tsedge(&mut self) -> TSEDGE_W<'_, 3>
pub fn tsedge(&mut self) -> TSEDGE_W<'_, 3>
Bit 3 - Time-stamp event active edge TSE must be reset when TSEDGE is changed to avoid unwanted TSF setting.
sourcepub fn refckon(&mut self) -> REFCKON_W<'_, 4>
pub fn refckon(&mut self) -> REFCKON_W<'_, 4>
Bit 4 - RTC_REFIN reference clock detection enable (50 or 60Hz) Note: PREDIV_S must be 0x00FF.
sourcepub fn bypshad(&mut self) -> BYPSHAD_W<'_, 5>
pub fn bypshad(&mut self) -> BYPSHAD_W<'_, 5>
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.
sourcepub fn add1h(&mut self) -> ADD1H_W<'_, 16>
pub fn add1h(&mut self) -> ADD1H_W<'_, 16>
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.
sourcepub fn sub1h(&mut self) -> SUB1H_W<'_, 17>
pub fn sub1h(&mut self) -> SUB1H_W<'_, 17>
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.
sourcepub fn bkp(&mut self) -> BKP_W<'_, 18>
pub fn bkp(&mut self) -> BKP_W<'_, 18>
Bit 18 - Backup This bit can be written by the user to memorize whether the daylight saving time change has been performed or not.
sourcepub fn cosel(&mut self) -> COSEL_W<'_, 19>
pub fn cosel(&mut self) -> COSEL_W<'_, 19>
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
sourcepub fn pol(&mut self) -> POL_W<'_, 20>
pub fn pol(&mut self) -> POL_W<'_, 20>
Bit 20 - Output polarity This bit is used to configure the polarity of RTC_ALARM output
sourcepub fn osel(&mut self) -> OSEL_W<'_, 21>
pub fn osel(&mut self) -> OSEL_W<'_, 21>
Bits 21:22 - Output selection These bits are used to select the flag to be routed to RTC_ALARM output
Methods from Deref<Target = W<CR_SPEC>>
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more