pub struct R(_);
Expand description
Register CR
reader
Implementations
sourceimpl R
impl R
sourcepub fn tsedge(&self) -> TSEDGE_R
pub fn tsedge(&self) -> TSEDGE_R
Bit 3 - Time-stamp event active edge TSE must be reset when TSEDGE is changed to avoid unwanted TSF setting.
sourcepub fn refckon(&self) -> REFCKON_R
pub fn refckon(&self) -> REFCKON_R
Bit 4 - RTC_REFIN reference clock detection enable (50 or 60Hz) Note: PREDIV_S must be 0x00FF.
sourcepub fn bypshad(&self) -> BYPSHAD_R
pub fn bypshad(&self) -> BYPSHAD_R
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 bkp(&self) -> BKP_R
pub fn bkp(&self) -> BKP_R
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(&self) -> COSEL_R
pub fn cosel(&self) -> COSEL_R
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(&self) -> POL_R
pub fn pol(&self) -> POL_R
Bit 20 - Output polarity This bit is used to configure the polarity of RTC_ALARM output
sourcepub fn osel(&self) -> OSEL_R
pub fn osel(&self) -> OSEL_R
Bits 21:22 - Output selection These bits are used to select the flag to be routed to RTC_ALARM output
Methods from Deref<Target = R<CR_SPEC>>
sourcepub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
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