[][src]Struct stm32l0xx_hal::pac::rtc::RegisterBlock

#[repr(C)]
pub struct RegisterBlock {
    pub tr: Reg<u32, _TR>,
    pub dr: Reg<u32, _DR>,
    pub cr: Reg<u32, _CR>,
    pub isr: Reg<u32, _ISR>,
    pub prer: Reg<u32, _PRER>,
    pub wutr: Reg<u32, _WUTR>,
    pub alrmar: Reg<u32, _ALRMAR>,
    pub alrmbr: Reg<u32, _ALRMBR>,
    pub wpr: Reg<u32, _WPR>,
    pub ssr: Reg<u32, _SSR>,
    pub shiftr: Reg<u32, _SHIFTR>,
    pub tstr: Reg<u32, _TSTR>,
    pub tsdr: Reg<u32, _TSDR>,
    pub tsssr: Reg<u32, _TSSSR>,
    pub calr: Reg<u32, _CALR>,
    pub tampcr: Reg<u32, _TAMPCR>,
    pub alrmassr: Reg<u32, _ALRMASSR>,
    pub alrmbssr: Reg<u32, _ALRMBSSR>,
    pub or: Reg<u32, _OR>,
    pub bkpr: [Reg<u32, _BKPR>; 5],
    // some fields omitted
}

Register block

Fields

tr: Reg<u32, _TR>

0x00 - RTC time register

dr: Reg<u32, _DR>

0x04 - RTC date register

cr: Reg<u32, _CR>

0x08 - RTC control register

isr: Reg<u32, _ISR>

0x0c - RTC initialization and status register

prer: Reg<u32, _PRER>

0x10 - RTC prescaler register

wutr: Reg<u32, _WUTR>

0x14 - RTC wakeup timer register

alrmar: Reg<u32, _ALRMAR>

0x1c - RTC alarm A register

alrmbr: Reg<u32, _ALRMBR>

0x20 - RTC alarm B register

wpr: Reg<u32, _WPR>

0x24 - write protection register

ssr: Reg<u32, _SSR>

0x28 - RTC sub second register

shiftr: Reg<u32, _SHIFTR>

0x2c - RTC shift control register

tstr: Reg<u32, _TSTR>

0x30 - RTC timestamp time register

tsdr: Reg<u32, _TSDR>

0x34 - RTC timestamp date register

tsssr: Reg<u32, _TSSSR>

0x38 - RTC time-stamp sub second register

calr: Reg<u32, _CALR>

0x3c - RTC calibration register

tampcr: Reg<u32, _TAMPCR>

0x40 - RTC tamper configuration register

alrmassr: Reg<u32, _ALRMASSR>

0x44 - RTC alarm A sub second register

alrmbssr: Reg<u32, _ALRMBSSR>

0x48 - RTC alarm B sub second register

or: Reg<u32, _OR>

0x4c - option register

bkpr: [Reg<u32, _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 = !

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