Expand description

RTC

Modules

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.

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

RTC backup registers

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

RTC control register

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.

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.

RTC option register

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.

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

RTC sub second register

RTC tamper and alternate function configuration register

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.

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.

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.

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.

RTC write protection register

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.

Structs

Register block

Type Definitions

ALRMR register accessor: an alias for Reg<ALRMR_SPEC>

ALRMSSR register accessor: an alias for Reg<ALRMSSR_SPEC>

BKPR register accessor: an alias for Reg<BKPR_SPEC>

CALR register accessor: an alias for Reg<CALR_SPEC>

CR register accessor: an alias for Reg<CR_SPEC>

DR register accessor: an alias for Reg<DR_SPEC>

ISR register accessor: an alias for Reg<ISR_SPEC>

OR register accessor: an alias for Reg<OR_SPEC>

PRER register accessor: an alias for Reg<PRER_SPEC>

SHIFTR register accessor: an alias for Reg<SHIFTR_SPEC>

SSR register accessor: an alias for Reg<SSR_SPEC>

TAMPCR register accessor: an alias for Reg<TAMPCR_SPEC>

TR register accessor: an alias for Reg<TR_SPEC>

TSDR register accessor: an alias for Reg<TSDR_SPEC>

TSSSR register accessor: an alias for Reg<TSSSR_SPEC>

TSTR register accessor: an alias for Reg<TSTR_SPEC>

WPR register accessor: an alias for Reg<WPR_SPEC>

WUTR register accessor: an alias for Reg<WUTR_SPEC>