[][src]Struct stm32l4xx_hal::stm32::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 wcksel(&self) -> WCKSELR[src]

Bits 0:2 - Wakeup clock selection

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

Bit 3 - Time-stamp event active edge

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

Bit 4 - Reference clock detection enable (50 or 60 Hz)

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

Bit 5 - Bypass the shadow registers

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 - Time stamp 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 add1h(&self) -> ADD1HR[src]

Bit 16 - Add 1 hour (summer time change)

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

Bit 17 - Subtract 1 hour (winter time change)

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

Bit 18 - Backup

pub fn cosel(&self) -> COSELR[src]

Bit 19 - Calibration output selection

pub fn pol(&self) -> POLR[src]

Bit 20 - Output polarity

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

Bits 21:22 - Output selection

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

Bit 23 - Calibration output enable

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

Bit 24 - timestamp on internal event enable

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

impl<T> Same for T

type Output = T

Should always be Self