[][src]Struct stm32h7::stm32h743::rtc::cr::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

pub fn wucksel(&self) -> WUCKSELR[src]

Bits 0:2 - Wakeup clock selection

pub fn tsedge(&self) -> TSEDGER[src]

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

pub fn refckon(&self) -> REFCKONR[src]

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

pub fn bypshad(&self) -> BYPSHADR[src]

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 fmt(&self) -> FMTR[src]

Bit 6 - Hour format

pub fn alrae(&self) -> ALRAER[src]

Bit 8 - Alarm A enable

pub fn alrbe(&self) -> ALRBER[src]

Bit 9 - Alarm B enable

pub fn wute(&self) -> WUTER[src]

Bit 10 - Wakeup timer enable

pub fn tse(&self) -> TSER[src]

Bit 11 - timestamp enable

pub fn alraie(&self) -> ALRAIER[src]

Bit 12 - Alarm A interrupt enable

pub fn alrbie(&self) -> ALRBIER[src]

Bit 13 - Alarm B interrupt enable

pub fn wutie(&self) -> WUTIER[src]

Bit 14 - Wakeup timer interrupt enable

pub fn tsie(&self) -> TSIER[src]

Bit 15 - Time-stamp interrupt enable

pub fn bkp(&self) -> BKPR[src]

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) -> COSELR[src]

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) -> POLR[src]

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

pub fn osel(&self) -> OSELR[src]

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

pub fn coe(&self) -> COER[src]

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

pub fn itse(&self) -> ITSER[src]

Bit 24 - timestamp on internal event enable

Auto Trait Implementations

impl Unpin for R

impl Sync for R

impl Send for R

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self