RX610 Group
15. 16-Bit Timer Pulse Unit (TPU)
R01UH0032EJ0120 Rev.1.20
Page 521 of 1006
Feb 20, 2013
15.9.6
Conflict between TPUm.TGRy Write and Compare Match
If a compare match occurs in a TGRy write cycle, the TGRy write takes precedence and the compare match signal is
disabled. A compare match also does not occur when the same value as before is written.
Figure 15.46 shows the timing in this case.
TCNT
TGRy
PCLK
Compare match
signal
M
N
TGR write by CPU
Disabled
N + 1
TGRm write data
N
Figure 15.46 Conflict between TPUm.TGRy Write and Compare Match
15.9.7
Conflict between Buffer Register Write and Compare Match
If a compare match occurs in a TPUm.TGRy write cycle, the data transferred to TGRy by the buffer operation will be the
data before writing.
Figure 15.47 shows the timing in this case.
Buffer register
TGRy
PCLK
Compare match
signal
Buffer register write by CPU
M
N
Buffer register write data
N
Figure 15.47 Conflict between Buffer Register Write and Compare Match