7.4.2 External event counter operation
The external event counter counts the number of external clock pulses to be input to TI5n by 8-bit counter 5n (TM5n).
TM5n is incremented each time the valid edge specified with timer clock select register 5n (TCL5n) is input. Either
the rising or falling edge can be selected.
When TM5n counted values match the values of 8-bit compare register 5n (CR5n), TM5n is cleared to 0 and the
interrupt request signal (INTTM5n) are generated.
Whenever the TM5n counted value matches the value of CR5n, INTTM5n is generated.
Remark n = 0, 1
Figure 7-8. External Event Counter Operation Timings (with Rising Edge Specified)
TI5n
TM5n count value
CR5n
INTTM5n
n = 0, 1
146
CHAPTER 7 8-BIT TIMER/EVENT COUNTER
00
01
02
03
04
Preliminary User's Manual U13420EJ2V0UM00
05
N–1
N
N
00
01
02
03