CHAPTER 7 TIMER/COUNTER FUNCTION
187
Figure 7-38. Timing of Interval Timer Operation (3/3)
Operated by CRn0 transition (M < N)
Count clock
CRn0
TCEn
INTTMn
TOn
TMn
00H
FFH
M
M
00H
00H
N
N
M
↑
CRn0 transition
↑
TMn overflows since M < N.
Operated by CRn0 transition (M > N)
CRn0
TCEn
INTTMn
TOn
TMn
N
M
↑
CRn0 transition
M
01H
00H
M
−
1
N
01H
00H
N
N
−
1
Count clock
Remark
n = 2 to 5
7.4.2 Operating as external event counter
The external event counter counts the number of external clock pulses that are input to TIn.
Each time a valid edge specified in the timer clock selection register n (TCLn) is input, TMn is incremented. The
edge setting can be selected to be either a rising or falling edge.
If the total of TMn and the value of the 8-bit compare register n (CRn0) match, TMn is cleared to 0 and the
interrupt request signal (INTTMn) is generated.
INTTMn is generated each time the TMn value matches the CRn0 value.
Summary of Contents for V850/SA1 mPD703015
Page 2: ...2 MEMO ...
Page 100: ...100 MEMO ...
Page 144: ...144 MEMO ...
Page 200: ...200 MEMO ...
Page 328: ...328 MEMO ...
Page 356: ...356 MEMO ...
Page 358: ...358 MEMO ...
Page 368: ...368 MEMO ...
Page 374: ...374 MEMO ...
Page 382: ...382 MEMO ...