Section 13 8-Bit Timer (TMR)
13.8
Interrupt Sources
TMR_0, TMR_1, and TMR_Y can generate three types of interrupts: CMIA, CMIB, and OVI.
TMR_X can generate four types of interrupts: CMIA, CMIB, OVI, and ICIX. Table 13.5 shows
the interrupt sources and priorities. Each interrupt source can be enabled or disabled independently
by interrupt enable bits in TCR or TCSR. Independent signals are sent to the interrupt controller
for each interrupt.
Table 13.5 Interrupt Sources of 8-Bit Timers TMR_0, TMR_1, TMR_Y, and TMR_X
Channel
Name
TMR_0
CMIA0
CMIB0
OVI0
TMR_1
CMIA1
CMIB1
OVI1
TMR_Y
CMIAY
CMIBY
OVIY
TMR_X
ICIX
CMIAX
CMIBX
OVIX
Rev. 3.00 Jul. 14, 2005 Page 406 of 986
REJ09B0098-0300
Interrupt Source
TCORA_0 compare-match
TCORB_0 compare-match
TCNT_0 overflow
TCORA_1 compare-match
TCORB_1 compare-match
TCNT_1 overflow
TCORA_Y compare-match
TCORB_Y compare-match
TCNT_Y overflow
Input capture
TCORA_X compare-match
TCORB_X compare-match
TCNT_X overflow
Interrupt Flag
CMFA
CMFB
OVF
CMFA
CMFB
OVF
CMFA
CMFB
OVF
ICF
CMFA
CMFB
OVF
Interrupt
Priority
High
Low