DocID018909 Rev 11
809/1731
RM0090
Real-time clock (RTC)
828
Bit 16
ADD1H
: Add 1 hour (summer time change)
When this bit is set outside initialization mode, 1 hour is added to the calendar time. This bit
is always read as 0.
0: No effect
1: Adds 1 hour to the current time. This can be used for summer time change
Bit 15
TSIE
: Timestamp interrupt enable
0: Timestamp Interrupt disable
1: Timestamp Interrupt enable
Bit 14
WUTIE
: Wakeup timer interrupt enable
0: Wakeup timer interrupt disabled
1: Wakeup timer interrupt enabled
Bit 13
ALRBIE
:
Alarm B interrupt enable
0: Alarm B Interrupt disable
1: Alarm B Interrupt enable
Bit 12
ALRAIE
: Alarm A interrupt enable
0: Alarm A interrupt disabled
1: Alarm A interrupt enabled
Bit 11
TSE
: Time stamp enable
0: Time stamp disable
1: Time stamp enable
Bit 10
WUTE
: Wakeup timer enable
0: Wakeup timer disabled
1: Wakeup timer enabled
Bit 9
ALRBE
:
Alarm B enable
0: Alarm B disabled
1: Alarm B enabled
Bit 8
ALRAE:
Alarm A enable
0: Alarm A disabled
1: Alarm A enabled
Bit 7
DCE:
Coarse digital calibration enable
0: Digital calibration disabled
1: Digital calibration enabled
PREDIV_A must be 6 or greater
Bit 6
FMT
: Hour format
0: 24 hour/day format
1: AM/PM hour format
Bit 5
BYPSHAD
: Bypass the shadow registers
0: Calendar values (when reading from RTC_SSR, RTC_TR, and RTC_DR) are taken from
the shadow registers, which are updated once every two RTCCLK cycles.
1: Calendar values (when reading from RTC_SSR, RTC_TR, and RTC_DR) are taken
directly from the calendar counters.
Note: If the frequency of the APB1 clock is less than seven times the frequency of RTCCLK,
BYPSHAD must be set to ‘1’.