Datasheet

Section 11 16-Bit Cycle Measurement Timer (TCM)
Rev. 3.00 Sep. 28, 2009 Page 324 of 910
REJ09B0350-0300
11.5 Interrupt Sources
TCM has five interrupt sources: TICI, TCMI, TOVMI, TUDI, and TOVI. Each interrupt source is
either enabled or disabled by the corresponding interrupt enable bit in TCMIER and independently
transferred to the interrupt controller. Since a single vector address is allocated for each type of
interrupt source from all channels, the flags must be used to discriminate between the sources.
Table 11.3 lists the interrupt sources in priority order.
Table 11.3 TCM Interrupt Sources
Channel Name Interrupt Source Interrupt Flag Priority
TICI0 TCMICR_0 input capture ICPF_0 High
TCMI0 TCMMLCM_0 compare
match
CMF_0
TOVMI0 TCMMLCM_0 overflow MAXOVF_0
TUDI0 TCMMINCM_0 underflow MINUDF_0
TCM_0
TOVI0 TCMCNT_0 overflow OVF_0
TICI1 TCMICR_1 input capture ICPF_1
TCMI1 TCMMLCM_1 compare
match
CMF_1
TOVMI1 TCMMLCM_1 overflow MAXOVF_1
TUDI1 TCMMINCM_1 underflow MINUDF_1
TCM_1
TOVI1 TCMCNT_1 overflow OVF_1
TICI2 TCMICR_2 input capture ICPF_2
TCMI2 TCMMLCM_2 compare
match
CMF_2
TOVMI2 TCMMLCM_2 overflow MAXOVF_2
TUDI2 TCMMINCM_2 underflow MINUDF_2
TCM_2
TOVI2 TCMCNT_2 overflow OVF_2
TICI3 TCMICR_3 input capture ICPF_3
TCMI3 TCMMLCM_3 compare
match
CMF_3
TOVMI3 TCMMLCM_3 overflow MAXOVF_3
TCM_3
TUDI3 TCMMINCM_3 underflow MINUDF_3
TOVI3 TCMCNT_3 overflow OVF_3 Low