Usage Notes; Setting The Module Stop Function; Conflict Between Cmcnt Counter Writing And Compare Match; Conflict Between Cmcnt Counter Writing And Incrementing - Renesas RX100 Series User Manual

32-bit mcu
Hide thumbs Also See for RX100 Series:
Table of Contents

Advertisement

RX13T Group
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 section 11, Low Power
Consumption .
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. Figure 21.5 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. Figure 21.6 shows
the timing to write the CMCNT counter.
Figure 21.6
Conflict between CMCNT Counter Writing and Incrementing
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
PCLK
Internal write signal
Compare match signal
CMCNT
PCLK
Internal write signal
Count clock
CMCNT
21. Compare Match Timer (CMT)
Write to CMCNT
N
0000h
Write to CMCNT
N
M
CMCNT write data
Page 562 of 1041

Advertisement

Table of Contents
loading

Table of Contents