[][src]Struct stm32f0xx_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 tsedge(&self) -> TSEDGER[src]

Bit 3 - Time-stamp event active edge

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

Bit 4 - RTC_REFIN 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 tse(&self) -> TSER[src]

Bit 11 - timestamp enable

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

Bit 12 - Alarm A interrupt enable

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

Bit 15 - Time-stamp interrupt enable

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

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 = Infallible

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

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