[]Struct stm32f407g_disc::rtc::cr::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R

pub fn bits(&self) -> u32

Value of the register as raw bits

pub fn coe(&self) -> COER

Bit 23 - Calibration output enable

pub fn osel(&self) -> OSELR

Bits 21:22 - Output selection

pub fn pol(&self) -> POLR

Bit 20 - Output polarity

pub fn bkp(&self) -> BKPR

Bit 18 - Backup

pub fn sub1h(&self) -> SUB1HR

Bit 17 - Subtract 1 hour (winter time change)

pub fn add1h(&self) -> ADD1HR

Bit 16 - Add 1 hour (summer time change)

pub fn tsie(&self) -> TSIER

Bit 15 - Time-stamp interrupt enable

pub fn wutie(&self) -> WUTIER

Bit 14 - Wakeup timer interrupt enable

pub fn alrbie(&self) -> ALRBIER

Bit 13 - Alarm B interrupt enable

pub fn alraie(&self) -> ALRAIER

Bit 12 - Alarm A interrupt enable

pub fn tse(&self) -> TSER

Bit 11 - Time stamp enable

pub fn wute(&self) -> WUTER

Bit 10 - Wakeup timer enable

pub fn alrbe(&self) -> ALRBER

Bit 9 - Alarm B enable

pub fn alrae(&self) -> ALRAER

Bit 8 - Alarm A enable

pub fn dce(&self) -> DCER

Bit 7 - Coarse digital calibration enable

pub fn fmt(&self) -> FMTR

Bit 6 - Hour format

pub fn refckon(&self) -> REFCKONR

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

pub fn tsedge(&self) -> TSEDGER

Bit 3 - Time-stamp event active edge

pub fn wcksel(&self) -> WCKSELR

Bits 0:2 - Wakeup clock selection

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]