[][src]Struct stm32h7::stm32h743v::rtc::cr::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register

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

Bits 0:2 - Wakeup clock selection

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

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

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

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

pub fn bypshad(&mut self) -> _BYPSHADW[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(&mut self) -> _FMTW[src]

Bit 6 - Hour format

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

Bit 8 - Alarm A enable

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

Bit 9 - Alarm B enable

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

Bit 10 - Wakeup timer enable

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

Bit 11 - timestamp enable

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

Bit 12 - Alarm A interrupt enable

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

Bit 13 - Alarm B interrupt enable

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

Bit 14 - Wakeup timer interrupt enable

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

Bit 15 - Time-stamp interrupt enable

pub fn add1h(&mut self) -> _ADD1HW[src]

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.

pub fn sub1h(&mut self) -> _SUB1HW[src]

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.

pub fn bkp(&mut self) -> _BKPW[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(&mut self) -> _COSELW[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(&mut self) -> _POLW[src]

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

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

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

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

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

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

Bit 24 - timestamp on internal event enable

Auto Trait Implementations

impl Unpin for W

impl Send for W

impl Sync for W

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