#[doc = r" Register block"]
#[repr(C)]
pub struct RegisterBlock {
#[doc = "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."]
pub rtc_tr: RTC_TR,
#[doc = "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."]
pub rtc_dr: RTC_DR,
#[doc = "0x08 - RTC control register"]
pub rtc_cr: RTC_CR,
#[doc = "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."]
pub rtc_isr: RTC_ISR,
#[doc = "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."]
pub rtc_prer: RTC_PRER,
#[doc = "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."]
pub rtc_wutr: RTC_WUTR,
_reserved0: [u8; 4usize],
#[doc = "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."]
pub rtc_alrmar: RTC_ALRMAR,
#[doc = "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."]
pub rtc_alrmbr: RTC_ALRMBR,
#[doc = "0x24 - RTC write protection register"]
pub rtc_wpr: RTC_WPR,
#[doc = "0x28 - RTC sub second register"]
pub rtc_ssr: RTC_SSR,
#[doc = "0x2c - This register is write protected. The write access procedure is described in RTC register write protection on page9."]
pub rtc_shiftr: RTC_SHIFTR,
#[doc = "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."]
pub rtc_tstr: RTC_TSTR,
#[doc = "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."]
pub rtc_tsdr: RTC_TSDR,
#[doc = "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."]
pub rtc_tsssr: RTC_TSSSR,
#[doc = "0x3c - This register is write protected. The write access procedure is described in RTC register write protection on page9."]
pub rtc_calr: RTC_CALR,
#[doc = "0x40 - RTC tamper and alternate function configuration register"]
pub rtc_tampcr: RTC_TAMPCR,
#[doc = "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"]
pub rtc_alrmassr: RTC_ALRMASSR,
#[doc = "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."]
pub rtc_alrmbssr: RTC_ALRMBSSR,
#[doc = "0x4c - RTC option register"]
pub rtc_or: RTC_OR,
#[doc = "0x50 - RTC backup registers"]
pub rtc_bkp0r: RTC_BKP0R,
#[doc = "0x54 - RTC backup registers"]
pub rtc_bkp1r: RTC_BKP1R,
#[doc = "0x58 - RTC backup registers"]
pub rtc_bkp2r: RTC_BKP2R,
#[doc = "0x5c - RTC backup registers"]
pub rtc_bkp3r: RTC_BKP3R,
#[doc = "0x60 - RTC backup registers"]
pub rtc_bkp4r: RTC_BKP4R,
#[doc = "0x64 - RTC backup registers"]
pub rtc_bkp5r: RTC_BKP5R,
#[doc = "0x68 - RTC backup registers"]
pub rtc_bkp6r: RTC_BKP6R,
#[doc = "0x6c - RTC backup registers"]
pub rtc_bkp7r: RTC_BKP7R,
#[doc = "0x70 - RTC backup registers"]
pub rtc_bkp8r: RTC_BKP8R,
#[doc = "0x74 - RTC backup registers"]
pub rtc_bkp9r: RTC_BKP9R,
#[doc = "0x78 - RTC backup registers"]
pub rtc_bkp10r: RTC_BKP10R,
#[doc = "0x7c - RTC backup registers"]
pub rtc_bkp11r: RTC_BKP11R,
#[doc = "0x80 - RTC backup registers"]
pub rtc_bkp12r: RTC_BKP12R,
#[doc = "0x84 - RTC backup registers"]
pub rtc_bkp13r: RTC_BKP13R,
#[doc = "0x88 - RTC backup registers"]
pub rtc_bkp14r: RTC_BKP14R,
#[doc = "0x8c - RTC backup registers"]
pub rtc_bkp15r: RTC_BKP15R,
#[doc = "0x90 - RTC backup registers"]
pub rtc_bkp16r: RTC_BKP16R,
#[doc = "0x94 - RTC backup registers"]
pub rtc_bkp17r: RTC_BKP17R,
#[doc = "0x98 - RTC backup registers"]
pub rtc_bkp18r: RTC_BKP18R,
#[doc = "0x9c - RTC backup registers"]
pub rtc_bkp19r: RTC_BKP19R,
#[doc = "0xa0 - RTC backup registers"]
pub rtc_bkp20r: RTC_BKP20R,
#[doc = "0xa4 - RTC backup registers"]
pub rtc_bkp21r: RTC_BKP21R,
#[doc = "0xa8 - RTC backup registers"]
pub rtc_bkp22r: RTC_BKP22R,
#[doc = "0xac - RTC backup registers"]
pub rtc_bkp23r: RTC_BKP23R,
#[doc = "0xb0 - RTC backup registers"]
pub rtc_bkp24r: RTC_BKP24R,
#[doc = "0xb4 - RTC backup registers"]
pub rtc_bkp25r: RTC_BKP25R,
#[doc = "0xb8 - RTC backup registers"]
pub rtc_bkp26r: RTC_BKP26R,
#[doc = "0xbc - RTC backup registers"]
pub rtc_bkp27r: RTC_BKP27R,
#[doc = "0xc0 - RTC backup registers"]
pub rtc_bkp28r: RTC_BKP28R,
#[doc = "0xc4 - RTC backup registers"]
pub rtc_bkp29r: RTC_BKP29R,
#[doc = "0xc8 - RTC backup registers"]
pub rtc_bkp30r: RTC_BKP30R,
#[doc = "0xcc - RTC backup registers"]
pub rtc_bkp31r: RTC_BKP31R,
}
#[doc = "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."]
pub struct RTC_TR {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "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."]
pub mod rtc_tr;
#[doc = "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."]
pub struct RTC_DR {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "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."]
pub mod rtc_dr;
#[doc = "RTC control register"]
pub struct RTC_CR {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC control register"]
pub mod rtc_cr;
#[doc = "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."]
pub struct RTC_ISR {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "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."]
pub mod rtc_isr;
#[doc = "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."]
pub struct RTC_PRER {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "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."]
pub mod rtc_prer;
#[doc = "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."]
pub struct RTC_WUTR {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "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."]
pub mod rtc_wutr;
#[doc = "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."]
pub struct RTC_ALRMAR {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "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."]
pub mod rtc_alrmar;
#[doc = "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."]
pub struct RTC_ALRMBR {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "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."]
pub mod rtc_alrmbr;
#[doc = "RTC write protection register"]
pub struct RTC_WPR {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC write protection register"]
pub mod rtc_wpr;
#[doc = "RTC sub second register"]
pub struct RTC_SSR {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC sub second register"]
pub mod rtc_ssr;
#[doc = "This register is write protected. The write access procedure is described in RTC register write protection on page9."]
pub struct RTC_SHIFTR {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "This register is write protected. The write access procedure is described in RTC register write protection on page9."]
pub mod rtc_shiftr;
#[doc = "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."]
pub struct RTC_TSTR {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "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."]
pub mod rtc_tstr;
#[doc = "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."]
pub struct RTC_TSDR {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "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."]
pub mod rtc_tsdr;
#[doc = "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."]
pub struct RTC_TSSSR {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "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."]
pub mod rtc_tsssr;
#[doc = "This register is write protected. The write access procedure is described in RTC register write protection on page9."]
pub struct RTC_CALR {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "This register is write protected. The write access procedure is described in RTC register write protection on page9."]
pub mod rtc_calr;
#[doc = "RTC tamper and alternate function configuration register"]
pub struct RTC_TAMPCR {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC tamper and alternate function configuration register"]
pub mod rtc_tampcr;
#[doc = "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"]
pub struct RTC_ALRMASSR {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "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"]
pub mod rtc_alrmassr;
#[doc = "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."]
pub struct RTC_ALRMBSSR {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "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."]
pub mod rtc_alrmbssr;
#[doc = "RTC backup registers"]
pub struct RTC_BKP0R {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC backup registers"]
pub mod rtc_bkp0r;
#[doc = "RTC backup registers"]
pub struct RTC_BKP1R {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC backup registers"]
pub mod rtc_bkp1r;
#[doc = "RTC backup registers"]
pub struct RTC_BKP2R {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC backup registers"]
pub mod rtc_bkp2r;
#[doc = "RTC backup registers"]
pub struct RTC_BKP3R {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC backup registers"]
pub mod rtc_bkp3r;
#[doc = "RTC backup registers"]
pub struct RTC_BKP4R {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC backup registers"]
pub mod rtc_bkp4r;
#[doc = "RTC backup registers"]
pub struct RTC_BKP5R {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC backup registers"]
pub mod rtc_bkp5r;
#[doc = "RTC backup registers"]
pub struct RTC_BKP6R {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC backup registers"]
pub mod rtc_bkp6r;
#[doc = "RTC backup registers"]
pub struct RTC_BKP7R {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC backup registers"]
pub mod rtc_bkp7r;
#[doc = "RTC backup registers"]
pub struct RTC_BKP8R {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC backup registers"]
pub mod rtc_bkp8r;
#[doc = "RTC backup registers"]
pub struct RTC_BKP9R {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC backup registers"]
pub mod rtc_bkp9r;
#[doc = "RTC backup registers"]
pub struct RTC_BKP10R {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC backup registers"]
pub mod rtc_bkp10r;
#[doc = "RTC backup registers"]
pub struct RTC_BKP11R {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC backup registers"]
pub mod rtc_bkp11r;
#[doc = "RTC backup registers"]
pub struct RTC_BKP12R {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC backup registers"]
pub mod rtc_bkp12r;
#[doc = "RTC backup registers"]
pub struct RTC_BKP13R {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC backup registers"]
pub mod rtc_bkp13r;
#[doc = "RTC backup registers"]
pub struct RTC_BKP14R {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC backup registers"]
pub mod rtc_bkp14r;
#[doc = "RTC backup registers"]
pub struct RTC_BKP15R {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC backup registers"]
pub mod rtc_bkp15r;
#[doc = "RTC option register"]
pub struct RTC_OR {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC option register"]
pub mod rtc_or;
#[doc = "RTC backup registers"]
pub struct RTC_BKP16R {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC backup registers"]
pub mod rtc_bkp16r;
#[doc = "RTC backup registers"]
pub struct RTC_BKP17R {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC backup registers"]
pub mod rtc_bkp17r;
#[doc = "RTC backup registers"]
pub struct RTC_BKP18R {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC backup registers"]
pub mod rtc_bkp18r;
#[doc = "RTC backup registers"]
pub struct RTC_BKP19R {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC backup registers"]
pub mod rtc_bkp19r;
#[doc = "RTC backup registers"]
pub struct RTC_BKP20R {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC backup registers"]
pub mod rtc_bkp20r;
#[doc = "RTC backup registers"]
pub struct RTC_BKP21R {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC backup registers"]
pub mod rtc_bkp21r;
#[doc = "RTC backup registers"]
pub struct RTC_BKP22R {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC backup registers"]
pub mod rtc_bkp22r;
#[doc = "RTC backup registers"]
pub struct RTC_BKP23R {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC backup registers"]
pub mod rtc_bkp23r;
#[doc = "RTC backup registers"]
pub struct RTC_BKP24R {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC backup registers"]
pub mod rtc_bkp24r;
#[doc = "RTC backup registers"]
pub struct RTC_BKP25R {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC backup registers"]
pub mod rtc_bkp25r;
#[doc = "RTC backup registers"]
pub struct RTC_BKP26R {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC backup registers"]
pub mod rtc_bkp26r;
#[doc = "RTC backup registers"]
pub struct RTC_BKP27R {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC backup registers"]
pub mod rtc_bkp27r;
#[doc = "RTC backup registers"]
pub struct RTC_BKP28R {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC backup registers"]
pub mod rtc_bkp28r;
#[doc = "RTC backup registers"]
pub struct RTC_BKP29R {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC backup registers"]
pub mod rtc_bkp29r;
#[doc = "RTC backup registers"]
pub struct RTC_BKP30R {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC backup registers"]
pub mod rtc_bkp30r;
#[doc = "RTC backup registers"]
pub struct RTC_BKP31R {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "RTC backup registers"]
pub mod rtc_bkp31r;