English
Language : 

SH7280 Datasheet, PDF (647/1726 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine family
Section 11 Multi-Function Timer Pulse Unit 2 (MTU2)
(1) Input Capture/Compare Match Interrupt
An interrupt is requested if the TGIE bit in TIER is set to 1 when the TGF flag in TSR is set to 1
by the occurrence of a TGR input capture/compare match on a particular channel. The interrupt
request is cleared by clearing the TGF flag to 0. The MTU2 has 21 input capture/compare match
interrupts, six for channel 0, four each for channels 3 and 4, two each for channels 1 and 2, and
three for channel 5. The TGFE_0 and TGFF_0 flags in channel 0 are not set by the occurrence of
an input capture.
(2) Overflow Interrupt
An interrupt is requested if the TCIEV bit in TIER is set to 1 when the TCFV flag in TSR is set to
1 by the occurrence of TCNT overflow on a channel. The interrupt request is cleared by clearing
the TCFV flag to 0. The MTU2 has five overflow interrupts, one for each channel.
(3) Underflow Interrupt
An interrupt is requested if the TCIEU bit in TIER is set to 1 when the TCFU flag in TSR is set to
1 by the occurrence of TCNT underflow on a channel. The interrupt request is cleared by clearing
the TCFU flag to 0. The MTU2 has two underflow interrupts, one each for channels 1 and 2.
11.5.2 DMAC and DTC Activation
(1) DTC Activation
The DTC can be activated by the TGR input capture/compare match interrupt in each channel and
the overflow interrupt of channel 4. For details, see section 8, Data Transfer Controller (DTC).
In the MTU2, a total of twenty input capture/compare match interrupts and overflow interrupts can
be used as DTC activation sources, four each for channels 0 and 3, two each for channels 1 and 2,
five for channel 4 and three for channel 5.
(2) DMAC Activation
The DMAC can be activated by the TGRA input capture/compare match interrupt in each channel.
For details, see section 10, Direct Memory Access Controller (DMAC).
In the MTU2, a total of five TGRA input capture/compare match interrupts can be used as DMAC
activation sources, one each for channels 0 to 4.
When the DMAC is activation by MTU2, the activation sources are cleared when the DMAC
requests the internal bus mastership. Accordingly, depending on the internal bus state, a wait state
Rev. 1.00 Jun. 26, 2008 Page 617 of 1692
REJ09B0393-0100