R01UH0823EJ0100 Rev.1.00 Page 761 of 1823
Jul 31, 2019
RX23W Group 27. Compare Match Timer (CMT)
27.6 Usage Notes
27.6.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
section 11, Low Power
Consumption
.
27.6.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.
Figure 27.5 shows the timing to clear the
CMCNT counter.
Figure 27.5 Conflict between CMCNT Counter Writing and Compare Match
27.6.3 Conflict between CMCNT Counter Writing and Incrementing
If writing to the counter and the incrementing conflict, the writing has priority over the incrementing. Figure 27.6 shows
the timing to write the CMCNT counter.
Figure 27.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