171
CHAPTER 8 16-BIT TIMER/EVENT COUNTER
User’s Manual U12697EJ3V0UM
Figure 8-20. Control Register Settings in External Event Counter Mode
(a) 16-bit timer mode control register 0 (TMC0)
0
0
0
0
TMC03
1
TMC02
1
TMC01
0/1
OVF0
0
TMC0
Clears and starts on match
between TM0 and CR00.
(b) Capture/compare control register 0 (CRC0)
0
0
0
0
0
CRC02
0/1
CRC01
0/1
CRC00
0
CRC0
CR00 as compare register
Remark
0/1:
When these bits are reset to 0 or set to 1, the other functions can be used along with the
external event counter function. For details, refer to
Figures 8-2
and
8-3.
Figure 8-21. Configuration of External Event Counter
16-bit capture/compare
register (CR00)
16-bit timer counter 0 (TM0)
Clear
OVF0
INTTM00
16-bit capture/compare
register 01 (CR01)
Valid edge of TI00
Internal bus