Datasheet

Section 12 8-Bit Timers (TMR)
Rev.6.00 Mar. 18, 2009 Page 521 of 980
REJ09B0050-0600
12.7 Interrupts
12.7.1 Interrupt Sources and DTC Activation
There are three 8-bit timer interrupt sources: CMIA, CMIB, and OVI. Their relative priorities are
shown in table 12.3. Each interrupt source is set as 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 12.3 8-Bit Timer Interrupt Sources
Name Interrupt Source Interrupt Flag DTC Activation Priority
CMIA0 TCORA_0 compare match CMFA Possible High
CMIB0 TCORB_0 compare match CMFB Possible
OVI0 TCNT_0 overflow OVF Not possible Low
CMIA1 TCORA_1 compare match CMFA Possible High
CMIB1 TCORB_1 compare match CMFB Possible
OVI1 TCNT_1 overflow OVF Not possible Low
12.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 TCSR0 is set to 1 when the CMFA flag 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.