[][src]Struct stm32h7::stm32h743::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 bkp0r: BKP0R,
    pub bkp1r: BKP1R,
    pub bkp2r: BKP2R,
    pub bkp3r: BKP3R,
    pub bkp4r: BKP4R,
    pub bkp5r: BKP5R,
    pub bkp6r: BKP6R,
    pub bkp7r: BKP7R,
    pub bkp8r: BKP8R,
    pub bkp9r: BKP9R,
    pub bkp10r: BKP10R,
    pub bkp11r: BKP11R,
    pub bkp12r: BKP12R,
    pub bkp13r: BKP13R,
    pub bkp14r: BKP14R,
    pub bkp15r: BKP15R,
    pub bkp16r: BKP16R,
    pub bkp17r: BKP17R,
    pub bkp18r: BKP18R,
    pub bkp19r: BKP19R,
    pub bkp20r: BKP20R,
    pub bkp21r: BKP21R,
    pub bkp22r: BKP22R,
    pub bkp23r: BKP23R,
    pub bkp24r: BKP24R,
    pub bkp25r: BKP25R,
    pub bkp26r: BKP26R,
    pub bkp27r: BKP27R,
    pub bkp28r: BKP28R,
    pub bkp29r: BKP29R,
    pub bkp30r: BKP30R,
    pub bkp31r: BKP31R,
    // some fields omitted
}

Register block

Fields

tr: TR

0x00 - The RTC_TR is the calendar time shadow register. This register must be written in initialization mode only. Refer to Calendar initialization and configuration on page9 and Reading the calendar on page10.This register is write protected. The write access procedure is described in RTC register write protection on page9.

dr: DR

0x04 - The RTC_DR is the calendar date shadow register. This register must be written in initialization mode only. Refer to Calendar initialization and configuration on page9 and Reading the calendar on page10.This register is write protected. The write access procedure is described in RTC register write protection on page9.

cr: CR

0x08 - RTC control register

isr: ISR

0x0c - This register is write protected (except for RTC_ISR[13:8] bits). The write access procedure is described in RTC register write protection on page9.

prer: PRER

0x10 - This register must be written in initialization mode only. The initialization must be performed in two separate write accesses. Refer to Calendar initialization and configuration on page9.This register is write protected. The write access procedure is described in RTC register write protection on page9.

wutr: WUTR

0x14 - This register can be written only when WUTWF is set to 1 in RTC_ISR.This register is write protected. The write access procedure is described in RTC register write protection on page9.

alrmar: ALRMAR

0x1c - This register can be written only when ALRAWF is set to 1 in RTC_ISR, or in initialization mode.This register is write protected. The write access procedure is described in RTC register write protection on page9.

alrmbr: ALRMBR

0x20 - This register can be written only when ALRBWF is set to 1 in RTC_ISR, or in initialization mode.This register is write protected. The write access procedure is described in RTC register write protection on page9.

wpr: WPR

0x24 - RTC write protection register

ssr: SSR

0x28 - RTC sub second register

shiftr: SHIFTR

0x2c - This register is write protected. The write access procedure is described in RTC register write protection on page9.

tstr: TSTR

0x30 - The content of this register is valid only when TSF is set to 1 in RTC_ISR. It is cleared when TSF bit is reset.

tsdr: TSDR

0x34 - The content of this register is valid only when TSF is set to 1 in RTC_ISR. It is cleared when TSF bit is reset.

tsssr: TSSSR

0x38 - The content of this register is valid only when RTC_ISR/TSF is set. It is cleared when the RTC_ISR/TSF bit is reset.

calr: CALR

0x3c - This register is write protected. The write access procedure is described in RTC register write protection on page9.

tampcr: TAMPCR

0x40 - RTC tamper and alternate function configuration register

alrmassr: ALRMASSR

0x44 - This register can be written only when ALRAE is reset in RTC_CR register, or in initialization mode.This register is write protected. The write access procedure is described in RTC register write protection on page9

alrmbssr: ALRMBSSR

0x48 - This register can be written only when ALRBE is reset in RTC_CR register, or in initialization mode.This register is write protected.The write access procedure is described in Section: RTC register write protection.

or: OR

0x4c - RTC option register

bkp0r: BKP0R

0x50 - RTC backup registers

bkp1r: BKP1R

0x54 - RTC backup registers

bkp2r: BKP2R

0x58 - RTC backup registers

bkp3r: BKP3R

0x5c - RTC backup registers

bkp4r: BKP4R

0x60 - RTC backup registers

bkp5r: BKP5R

0x64 - RTC backup registers

bkp6r: BKP6R

0x68 - RTC backup registers

bkp7r: BKP7R

0x6c - RTC backup registers

bkp8r: BKP8R

0x70 - RTC backup registers

bkp9r: BKP9R

0x74 - RTC backup registers

bkp10r: BKP10R

0x78 - RTC backup registers

bkp11r: BKP11R

0x7c - RTC backup registers

bkp12r: BKP12R

0x80 - RTC backup registers

bkp13r: BKP13R

0x84 - RTC backup registers

bkp14r: BKP14R

0x88 - RTC backup registers

bkp15r: BKP15R

0x8c - RTC backup registers

bkp16r: BKP16R

0x90 - RTC backup registers

bkp17r: BKP17R

0x94 - RTC backup registers

bkp18r: BKP18R

0x98 - RTC backup registers

bkp19r: BKP19R

0x9c - RTC backup registers

bkp20r: BKP20R

0xa0 - RTC backup registers

bkp21r: BKP21R

0xa4 - RTC backup registers

bkp22r: BKP22R

0xa8 - RTC backup registers

bkp23r: BKP23R

0xac - RTC backup registers

bkp24r: BKP24R

0xb0 - RTC backup registers

bkp25r: BKP25R

0xb4 - RTC backup registers

bkp26r: BKP26R

0xb8 - RTC backup registers

bkp27r: BKP27R

0xbc - RTC backup registers

bkp28r: BKP28R

0xc0 - RTC backup registers

bkp29r: BKP29R

0xc4 - RTC backup registers

bkp30r: BKP30R

0xc8 - RTC backup registers

bkp31r: BKP31R

0xcc - RTC backup registers

Auto Trait Implementations

Blanket Implementations

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> From<T> for 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