11.7
Interrupt Sources
11.7.1
Interrupt Sources and DTC Activation
There are three interrupt sources for the 8-bit timer (TMR_0 or TMR_1): CMIA, CMIB, and OVI.
Their interrupt sources and priorities are shown in table 11.3. Each interrupt source is enabled or
disabled by the corresponding interrupt enable bit in TCR or TCSR, and independent interrupt
requests are sent for each to the interrupt controller. It is also possible to activate the DTC by
means of CMIA and CMIB interrupts.
Table 11.3 8-Bit Timer (TMR_0 or TMR_1) Interrupt Sources
Name
Interrupt Source
CMIA0
TCORA_0 compare match
CMIB0
TCORB_0 compare match
OVI0
TCNT_0 overflow
CMIA1
TCORA_1 compare match
CMIB1
TCORB_1 compare match
OVI1
TCNT_1 overflow
Note: VNUM is an internal signal.
11.7.2
A/D Converter Activation
The A/D converter can be activated only by TMR_0 compare match A.
If the ADTE bit in TCSR_0 is set to 1 when the CMFA flag in TCSR_0 is set to 1 by the
occurrence of TMR_0 compare match A, a request to start A/D conversion is sent to the A/D
converter. 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.
Interrupt Flag
DTC Activation
CMFA
Possible
(VNUM = 2'b00)
CMFB
Possible
(VNUM = 2'b01)
OVF
Not possible
CMFA
Possible
(VNUM = 2'b10)
CMFB
Possible
(VNUM = 2'b11)
OVF
Not possible
Rev.2.00 Jun. 28, 2007 Page 431 of 666
Section 11 8-Bit Timers (TMR)
Priority
High
Low
High
Low
REJ09B0311-0200