Struct stm32g0::stm32g041::rtc::RegisterBlock[][src]

#[repr(C)]pub struct RegisterBlock {
    pub tr: TR,
    pub dr: DR,
    pub ssr: SSR,
    pub icsr: ICSR,
    pub prer: PRER,
    pub wutr: WUTR,
    pub cr: CR,
    pub wpr: WPR,
    pub calr: CALR,
    pub shiftr: SHIFTR,
    pub tstr: TSTR,
    pub tsdr: TSDR,
    pub tsssr: TSSSR,
    pub alrmar: ALRMAR,
    pub alrmassr: ALRMASSR,
    pub alrmbr: ALRMBR,
    pub alrmbssr: ALRMBSSR,
    pub sr: SR,
    pub misr: MISR,
    pub scr: SCR,
    // some fields omitted
}

Register block

Fields

tr: TR

0x00 - time register

dr: DR

0x04 - date register

ssr: SSR

0x08 - sub second register

icsr: ICSR

0x0c - initialization and status register

prer: PRER

0x10 - prescaler register

wutr: WUTR

0x14 - wakeup timer register

cr: CR

0x18 - control register

wpr: WPR

0x24 - write protection register

calr: CALR

0x28 - calibration register

shiftr: SHIFTR

0x2c - shift control register

tstr: TSTR

0x30 - time stamp time register

tsdr: TSDR

0x34 - time stamp date register

tsssr: TSSSR

0x38 - timestamp sub second register

alrmar: ALRMAR

0x40 - alarm A register

alrmassr: ALRMASSR

0x44 - alarm A sub second register

alrmbr: ALRMBR

0x48 - alarm B register

alrmbssr: ALRMBSSR

0x4c - alarm B sub second register

sr: SR

0x50 - status register

misr: MISR

0x54 - masked interrupt status register

scr: SCR

0x5c - status clear register

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T, U> Into<U> for T where
    U: From<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> 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.