pub struct R(/* private fields */);
Expand description
Register CR
reader
Implementations§
§impl R
impl R
pub fn tsedge(&self) -> BitReaderRaw<TSEDGE_A>
pub fn tsedge(&self) -> BitReaderRaw<TSEDGE_A>
Bit 3 - Time-stamp event active edge TSE must be reset when TSEDGE is changed to avoid unwanted TSF setting.
pub fn refckon(&self) -> BitReaderRaw<REFCKON_A>
pub fn refckon(&self) -> BitReaderRaw<REFCKON_A>
Bit 4 - RTC_REFIN reference clock detection enable (50 or 60Hz) Note: PREDIV_S must be 0x00FF.
pub fn bypshad(&self) -> BitReaderRaw<BYPSHAD_A>
pub fn bypshad(&self) -> BitReaderRaw<BYPSHAD_A>
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.
pub fn bkp(&self) -> BitReaderRaw<BKP_A>
pub fn bkp(&self) -> BitReaderRaw<BKP_A>
Bit 18 - Backup This bit can be written by the user to memorize whether the daylight saving time change has been performed or not.
pub fn cosel(&self) -> BitReaderRaw<COSEL_A>
pub fn cosel(&self) -> BitReaderRaw<COSEL_A>
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
pub fn pol(&self) -> BitReaderRaw<POL_A>
pub fn pol(&self) -> BitReaderRaw<POL_A>
Bit 20 - Output polarity This bit is used to configure the polarity of RTC_ALARM output
pub fn osel(&self) -> FieldReaderRaw<u8, OSEL_A>
pub fn osel(&self) -> FieldReaderRaw<u8, OSEL_A>
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>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.