CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
User’s Manual U18172EJ2V0UD
96
Figure 6-16. External Event Counter Configuration Diagram
16-bit timer capture/compare
register 000 (CR000)
16-bit timer counter 00 (TM00)
Internal bus
Match
Clear
OVF00
Note
INTTM000
Noise eliminator
f
XP
Valid edge of TI000
Note
OVF00 is 1 only when 16-bit timer capture/compare register 000 is set to FFFFH.
Figure 6-17. External Event Counter Operation Timing (with Rising Edge Specified)
(1) INTTM000 generation timing immediately after operation starts
Counting is started after a valid edge is detected twice.
CR000
INTTM000
0000H 0001H 0002H 0003H
N–2
N–1
N
0000H 0001H 0002H
N
1
2
3
Count starts
TI000 pin input
TM00 count value
Timer operation starts
(2) INTTM000 generation timing after INTTM000 has been generated twice
CR000
INTTM000
N
0000H 0001H 0002H 0003H 0004H
N–1
N
0000H 0001H 0002H 0003H
N
TI000 pin input
TM00 count value
Caution When reading the external event counter count value, TM00 should be read.