Real-Time Clock
7-176
Figure 7–64 summarizes positive and negative compensation effect.
Figure 7–64. Positive and Negative Compensation Effect
32-kHz clock
Second update
Timer counter
32-kHz clock
Second update
Timer counter
32-kHz clock
Second update
Timer counter
7FFA
7FFB
7FFC
7FFD
7FFE
7FFF
0000
0001
0000
No compensation
7FFA
7FFB
7FFC
7FFD
7FFE
7FFF
0002
0003
7FFA
7FFB
7FFC
7FFD
7FFE
7FFF
7FFE
7FFF
Negative compensation: comp_reg = +2
Positive compensation: comp_reg = –2 (0xFFFE)
Two cycles are
removed from next
second.
Two cycles are added
to current second.