Product Specs

Table Of Contents
25 RTC Real-time counter
Page
245
SysClk
LFClk
PRESC
0x000
COUNTER
X
0x000000
CLEAR
CC[0]
0x000000
COMPARE[0]
0
Figure 47: Timing diagram - COMPARE_CLEAR
If a CC register is N and the COUNTER value is N when the START task is set, this will not trigger a
COMPARE event.
SysClk
LFClk
PRESC
0x000
COUNTER
N-1
N N+1
START
CC[0]
N
COMPARE[0]
0
Figure 48: Timing diagram - COMPARE_START
COMPARE occurs when a CC register is N and the COUNTER value transitions from N-1 to N.
1
Figure 49: Timing diagram - COMPARE
If the COUNTER is N, writing N+2 to a CC register is guaranteed to trigger a COMPARE event at N+2.
SysClk
LFClk
PRESC
0x000
COUNTER
N-2
N-1
N
N+1
CC[0]
N
COMPARE[0]
0