Real-Time Clock
7-184
Table 7–141. RTC Interrupts Register (RTC_INTERRUPTS_REG)
(Continued)
Bit
Reset
Value
R/W
Function
Value
Name
1–0
EVERY
Interrupt period
R/W
00
0
Every second
1
Every minute
2
Every hour
3
Every day
Note:
The MPU must respect the busy period to prevent spurious interrupt.
Table 7–142. RTC Compensation LSB Register (RTC_COMP_LSB_REG)
Bit
Name
Function
R/W
Reset
Value
7–0
RTC_COMP_LSB
Indicates number of 32-kHz periods to be added
into the 32-kHz counter every hour.
R/W
0x00
Note:
This register must be written in twos complement. That means that to add one 32-kHz oscillator period every hour, MPU
must write FFFF into RTC_COMP_MSB_REG and RTC_COMP_LSB_REG. To remove one 32-kHz oscillator period
every hour, MPU must write 0001 into RTC_COMP_MSB_REG and RTC_COMP_LSB_REG. The 7FFF value is forbid-
den.
Table 7–143. RTC Compensation MSB Register (RTC_COMP_MSB_REG)
Bit
Name
Function
R/W
Reset
Value
7–0
RTC_COMP_MSB
Indicates number of 32-kHz periods to be added
into the 32-kHz counter every hour.
R/W
0x00
Note:
This register must be written in twos complement. That means that to add one 32-kHz oscillator period every hour, MPU
must write FFFF into RTC_COMP_MSB_REG and RTC_COMP_LSB_REG. To remove one 32-kHz oscillator period
every hour, MPU must write 0001 into RTC_COMP_MSB_REG and RTC_COMP_LSB_REG. The 7FFF value is forbid-
den.