[][src]Struct stm32l0::stm32l0x3::rtc::RegisterBlock

#[repr(C)]
pub struct RegisterBlock {
    pub tr: TR,
    pub dr: DR,
    pub cr: CR,
    pub isr: ISR,
    pub prer: PRER,
    pub wutr: WUTR,
    pub alrmar: ALRMAR,
    pub alrmbr: ALRMBR,
    pub wpr: WPR,
    pub ssr: SSR,
    pub shiftr: SHIFTR,
    pub tstr: TSTR,
    pub tsdr: TSDR,
    pub tsssr: TSSSR,
    pub calr: CALR,
    pub tampcr: TAMPCR,
    pub alrmassr: ALRMASSR,
    pub alrmbssr: ALRMBSSR,
    pub or: OR,
    pub bkpr: [BKPR; 5],
    // some fields omitted
}

Register block

Fields

tr: TR

0x00 - RTC time register

dr: DR

0x04 - RTC date register

cr: CR

0x08 - RTC control register

isr: ISR

0x0c - RTC initialization and status register

prer: PRER

0x10 - RTC prescaler register

wutr: WUTR

0x14 - RTC wakeup timer register

alrmar: ALRMAR

0x1c - RTC alarm A register

alrmbr: ALRMBR

0x20 - RTC alarm B register

wpr: WPR

0x24 - write protection register

ssr: SSR

0x28 - RTC sub second register

shiftr: SHIFTR

0x2c - RTC shift control register

tstr: TSTR

0x30 - RTC timestamp time register

tsdr: TSDR

0x34 - RTC timestamp date register

tsssr: TSSSR

0x38 - RTC time-stamp sub second register

calr: CALR

0x3c - RTC calibration register

tampcr: TAMPCR

0x40 - RTC tamper configuration register

alrmassr: ALRMASSR

0x44 - RTC alarm A sub second register

alrmbssr: ALRMBSSR

0x48 - RTC alarm B sub second register

or: OR

0x4c - option register

bkpr: [BKPR; 5]

0x50 - RTC backup registers

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

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, 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