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

Bit 3 - Time-stamp event active edge

pub fn refckon(&self) -> REFCKONR

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

pub fn bypshad(&self) -> BYPSHADR

Bit 5 - Bypass the shadow registers

pub fn fmt(&self) -> FMTR

Bit 6 - Hour format

pub fn alrae(&self) -> ALRAER

Bit 8 - Alarm A enable

pub fn tse(&self) -> TSER

Bit 11 - timestamp enable

pub fn alraie(&self) -> ALRAIER

Bit 12 - Alarm A interrupt enable

pub fn tsie(&self) -> TSIER

Bit 15 - Time-stamp interrupt enable

pub fn bkp(&self) -> BKPR

Bit 18 - Backup

pub fn cosel(&self) -> COSELR

Bit 19 - Calibration output selection

pub fn pol(&self) -> POLR

Bit 20 - Output polarity

pub fn osel(&self) -> OSELR

Bits 21:22 - Output selection

pub fn coe(&self) -> COER

Bit 23 - Calibration output enable

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

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

type Error = !

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

The type returned in the event of a conversion error.

impl<T> From for T
[src]

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]