RX610 Group
17. 8-Bit Timer (TMR)
R01UH0032EJ0120 Rev.1.20
Page 581 of 1006
Feb 20, 2013
17.6
Interrupt Sources
17.6.1
Interrupt Sources and DTC Activation
There are three interrupt sources for TMRn: CMIAm, CMIBm, and OVIm. Their interrupt sources and priorities are
listed in table 17.6.
It is also possible to activate the DTC by means of CMIAm and CMIBm interrupts. The DMAC cannot be activated by
the interrupt sources for TMRn.
Table 17.6 TMR Interrupt Sources
Name
Interrupt Sources
Interrupt Status Flag
*
DTC
Activation
Priority
CMIA0
TMR0.TCORA compare match
IR174.IR
Possible
High
Low
CMIB0
TMR0.TCORB compare match
IR175.IR
Possible
OVI0
TMR0.TCNT overflow
IR176.IR
Not possible
CMIA1
TMR1.TCORA compare match
IR177.IR
Possible
CMIB1
TMR1.TCORB compare match
IR178.IR
Possible
OVI1
TMR1.TCNT overflow
IR179.IR
Not possible
CMIA2
TMR2.TCORA compare match
IR180.IR
Possible
CMIB2
TMR2.TCORB compare match
IR181.IR
Possible
OVI2
TMR2.TCNT overflow
IR182.IR
Not possible
CMIA3
TMR3.TCORA compare match
IR183.IR
Possible
CMIB3
TMR3.TCORB compare match
IR184.IR
Possible
OVI3
TMR3.TCNT overflow
IR185.IR
Not possible
Note:
*
For details on the interrupt status flag, see section 10, Interrupt Control Unit (ICU).
17.6.2
A/D Converter Activation
The A/D converter can be activated by a compare match A for TMR0 or TMR2.
If the TMRn.TCSR.ADTE bit (n = 0, 2) is set to 1 (A/D converter start requests by compare match A are enabled), a
request to start A/D conversion is sent to the A/D converter by the occurrence of a compare match A. If the 8-bit timer
conversion start trigger has been selected on the A/D converter side at this time, A/D conversion is started.
For the corresponding A/D converter units, see section 23, A/D Converter.