R01UH0822EJ0100 Rev.1.00
Page 557 of 1041
Jul 31, 2019
RX13T Group
21. Compare Match Timer (CMT)
21.
Compare Match Timer (CMT)
This MCU has an on-chip compare match timer (CMT) unit (unit 0) consisting of a two-channel 16-bit timer (i.e., a total
of two channels). The CMT has a 16-bit counter, and can generate interrupts at set intervals.
In this section, “PCLK” is used to refer to PCLKB.
21.1
Overview
lists the specifications for the CMT.
shows a block diagram of the CMT (unit 0). A two-channel CMT constitutes a unit.
Figure 21.1
CMT (Unit 0) Block Diagram
Table 21.1
CMT Specifications
Item
Description
Count clocks
Four frequency dividing clocks
One clock from PCLK/8, PCLK/32, PCLK/128, and PCLK/512 can be selected for each channel.
Interrupt
A compare match interrupt can be requested for each channel.
Low power consumption function Module stop state can be set.
Control circuit
Clock selection
Module bus
CMI0
PCLK/32
PCLK/512
PCLK/128
PCLK/8
Control circuit
Clock selection
PCLK/32
PCLK/512
PCLK/128
PCLK/8
Bus interface
C
omp
ar
at
o
r
C
omp
ar
at
o
r
In
te
rn
al p
er
iph
eral b
us
CMSTR0:
Compare match timer start register 0
CMCR:
Compare match timer control register
CMCOR:
Compare match timer constant register
CMCNT:
Compare match timer counter
CMI:
Compare match interrupt
CMS
T
R0
CMC
R
CMC
O
R
CM
CNT
CMC
R
CMC
O
R
CM
CNT
CMI1