Struct stm32f407g_disc::stm32::rtc::RegisterBlock[]

#[repr(C)]
pub struct RegisterBlock {
Show fields 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 calibr: Reg<u32, _CALIBR>, 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 tafcr: Reg<u32, _TAFCR>, pub alrmassr: Reg<u32, _ALRMASSR>, pub alrmbssr: Reg<u32, _ALRMBSSR>, pub bkpr: [Reg<u32, _BKPR>; 20], // some fields omitted
}

Register block

Fields

tr: Reg<u32, _TR>

0x00 - time register

dr: Reg<u32, _DR>

0x04 - date register

cr: Reg<u32, _CR>

0x08 - control register

isr: Reg<u32, _ISR>

0x0c - initialization and status register

prer: Reg<u32, _PRER>

0x10 - prescaler register

wutr: Reg<u32, _WUTR>

0x14 - wakeup timer register

calibr: Reg<u32, _CALIBR>

0x18 - calibration register

alrmar: Reg<u32, _ALRMAR>

0x1c - alarm A register

alrmbr: Reg<u32, _ALRMBR>

0x20 - alarm B register

wpr: Reg<u32, _WPR>

0x24 - write protection register

ssr: Reg<u32, _SSR>

0x28 - sub second register

shiftr: Reg<u32, _SHIFTR>

0x2c - shift control register

tstr: Reg<u32, _TSTR>

0x30 - time stamp time register

tsdr: Reg<u32, _TSDR>

0x34 - time stamp date register

tsssr: Reg<u32, _TSSSR>

0x38 - timestamp sub second register

calr: Reg<u32, _CALR>

0x3c - calibration register

tafcr: Reg<u32, _TAFCR>

0x40 - tamper and alternate function configuration register

alrmassr: Reg<u32, _ALRMASSR>

0x44 - alarm A sub second register

alrmbssr: Reg<u32, _ALRMBSSR>

0x48 - alarm B sub second register

bkpr: [Reg<u32, _BKPR>; 20]

0x50 - backup 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> Same<T> for T

type Output = T

Should always be Self

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.