CHAPTER 7 TIMER/COUNTER FUNCTION
User’s Manual U13850EJ4V0UM
226
(b) Operation based on CRn0 transitions
Figure 7-45. Timing of Operation Based on CRn0 Transitions
When the CRn0 value changes from N to M before TMn overflows
INTTMn
N + 1
02H
01H
00H
FFH
N
N + 2
TMn
CRn0
TCEn
TOn
Count clock
CRn0 transition (N
→
M)
M + 1
M
N
M
H
M + 2
02H
01H
00H
FFH
M + 1
M
M + 2
When the CRn0 value changes from N to M after TMn overflows
INTTMn
N + 1
02H
01H
00H
FFH
N
N + 2
TMn
CRn0
TCEn
TOn
Count clock
CRn0 transition (N
→
M)
N + 1
N
N
M
H
N + 2
02H
01H
00H
FFH
M + 1
M
M + 2
03H
N
When the CRn0 value changes from N to M within two clocks (00H, 01H) immediately after TMn overflows
INTTMn
N + 1
02H
01H
00H
FFH
N
N + 2
TMn
CRn0
TCEn
TOn
Count clock
CRn0 transition (N
→
M)
N + 1
N
N
M
H
N + 2
02H
01H
00H
FFH
M + 1
M
M + 2
03H
N
Remark
n = 2 to 5