Datasheet

Table Of Contents
Section 14 16-Bit Timer Pulse Unit (TPU)
Rev. 2.00 Jul. 04, 2007 Page 317 of 692
REJ09B0309-0200
14.8.9 Contention between Overflow and Counter Clearing
If overflow and counter clearing occur simultaneously, the TCFV flag in TSR is not set and TCNT
clearing takes priority.
Figure 14.36 shows the operation timing when a TGR compare match is specified as the clearing
source, and when H'FFFF is set in TGR.
Counter
clear signal
TCNT input
clock
φ
TCNT
TGF
TCFV
Disabled
H'FFFF
H'0000
Figure 14.36 Contention between Overflow and Counter Clearing