10.6.5
Contention between TCNT Write and Overflow/Underflow
If an overflow occurs in the T3 state of a TCNT write cycle, writing takes priority over counter
incrementing. OVF is set to 1. The same applies to underflows. The timing is shown in figure
10.62.
write signal
input clock
Figure 10.62 Contention between TCNT Write and Overflow
294
T1
CK
Address
Internal
TCNT
Overflow
signal
TCNT
OVF
TCNT write cycle
T2
T3
TCNT address
H'FFFF
TCNT write data
M