R01UH0822EJ0100 Rev.1.00
Page 562 of 1041
Jul 31, 2019
RX13T Group
21. Compare Match Timer (CMT)
21.5
Usage Notes
21.5.1
Setting the Module Stop Function
The CMT can be enabled or disabled using the module stop control register. After a reset, the CMT is in the module stop
state. The registers can be accessed by releasing the module stop state. For details, refer to
.
21.5.2
Conflict between CMCNT Counter Writing and Compare Match
When the compare match signal is generated while writing to the CMCNT counter, clearing the CMCNT counter has
priority over writing to it. In this case, the CMCNT counter is not written to.
shows the timing to clear the
CMCNT counter.
Figure 21.5
Conflict between CMCNT Counter Writing and Compare Match
21.5.3
Conflict between CMCNT Counter Writing and Incrementing
If writing to the counter and the incrementing conflict, the writing has priority over the incrementing.
shows
the timing to write the CMCNT counter.
Figure 21.6
Conflict between CMCNT Counter Writing and Incrementing
0000h
N
Write to CMCNT
CMCNT
Compare match signal
Internal write signal
PCLK
CMCNT write data
Write to CMCNT
PCLK
Internal write signal
Count clock
CMCNT
M
N