192
CHAPTER 8 8/16-BIT CAPTURE TIMER/COUNTER
Figure 8.7-4 Counter Function Operation in 16-bit Mode
Note:
Confirm the validity of the values set in the counter operating in 16-bit mode.
88H34H
0000H0001H0002H0003H1388H0000H0001H
13H12H
88H34H
13H12H
External clock
Counter clear
TSTR0 bits
Counter value
Comparator data latch 1
(lower 8-bit comparison value)
Comparator data latch 2
(higher 8-bit comparison value)
Load Load
TDR0*
(lower 8-bit setting value)
TDR1*
(higher 8-bit setting value)
Data setting (1234H)
TIF0
Clear by program
*:A value can be set according to any timing. When the counter is started or when a match is detected,
the data register setting value is loaded to the comparator data latch. In this case, the counter is cleared.