201
CHAPTER 9 8-BIT TIMER/EVENT COUNTERS 1, 2
User’s Manual U12697EJ3V0UM
Figure 9-9. Timing of Operation Based on CRn0 Transitions
(a) When the CRn0 value from N to M before TMn overflows
Count
clock
TMn
CRn0
CRn0
read value
TCEn
INTTMn
TOn
CRn0 transition
(N
→
M)
Reload
N N + 1 N + 2
FFH 00H 01H
M M + 1 M + 2
FFH 00H 01H 02H
M M + 1 M + 2
N
02H
M
M
H
Reload
N
M
M
(b) When the CRn0 value changes from N to M after TMn overflows
Count
clock
TMn
CRn0
CRn0
read value
TCEn
INTTMn
TOn
N N + 1 N + 2
FFH 00H 01H
N N + 1 N + 2
FFH 00H 01H 02H
N
02H
N
H
03H
M
M M + 1 M + 2
CRn0 transition
(N
→
M)
Reload
Reload
N
N
M
M
(c) When the CRn0 value changes from N to M during two clocks (00H, 01H) immediately after TMn overflows
Count
clock
TMn
CRn0
CRn0
read value
TCEn
INTTMn
TOn
N N + 1 N + 2
FFH 00H 01H
N N + 1 N + 2
FFH 00H 01H 02H
N
02H
N
H
M
M M + 1 M + 2
Reload & CRn0 transition
(N
→
M)
Reload
M
M
M
N
Remarks 1.
n = 1, 2
2.
CRn0(M): Master side, CRn0(S): Slave side