Datasheet

Section 12 8-Bit Timers
Rev.6.00 Sep. 27, 2007 Page 575 of 1268
REJ09B0220-0600
12.6.2 Contention between TCNT Write and Increment
If a timer counter clock pulse is generated during the T
2
state of a TCNT write cycle, the write
takes priority and the counter is not incremented.
Figure 12.11 shows this operation.
φ
A
ddress TCNT address
Internal write signal
TCNT input clock
TCNT
NM
T
1
T
2
TCNT write cycle by CPU
Counter write data
Figure 12.11 Contention between TCNT Write and Increment