10.6.3
Contention between TCNT Byte Write and Increment
If an increment pulse occurs in the T2 state or T3 state of a TCNT byte write cycle, counter
writing takes priority and the byte data on the side that was previously written is not incremented.
The TCNT byte data that was not written is also not incremented and retains its previous value.
The timing is shown in figure 10.60 (which shows an increment during state T2 of a byte write
cycle to TCNTH).
Internal write signal
TCNT input clock
Figure 10.60 Contention between TCNT Byte Write and Increment
292
TCNTH byte write cycle by CPU
T1
CK
Address
TCNTH
TCNTL
X
T2
T3
TCNTH address
N
TCNT write data
X + 1
M
X