English
Language : 

SH7065 Datasheet, PDF (458/941 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH RISC engine Family/SH7000 Series
Section 10 16-Bit Timer Pulse Unit (TPU)
Input Capture/Compare Match Interrupts
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 TPU has 16 input capture/compare match
interrupts, four each for channels 0 and 3, and two each for channels 1, 2, 4, and 5.
Overflow Interrupts
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 particular channel. The interrupt request is cleared by
clearing the TCFV flag to 0. The TPU has six overflow interrupts, one for each channel.
Underflow Interrupts
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 particular channel. The interrupt request is cleared
by clearing the TCFU flag to 0. The TPU has four overflow interrupts, one each for channels 1, 2,
4, and 5.
10.5.2 DMAC Activation
The TGRA input capture/compare match interrupt for a channel can be used as a DMAC
activation source. For details, see section 9, Direct Memory Access Controller (DMAC).
In the TPU, a total of six TGRA input capture/compare match interrupts can be used as DMAC
activation sources, one for each channel.
10.5.3 A/D Converter Activation
The A/D converter can be activated by the TGRA input capture/compare match interrupt for a
channel.
If the TTGE bit in TIER is set to 1 when the TFGA flag in TSR is set to 1 by the occurrence of a
TGRA input capture/compare match interrupt on a particular channel, a request to start A/D
conversion is sent to the A/D converter. If the TPU conversion start trigger has been selected on
the A/D converter side at this time, A/D conversion is started.
In the TPU, a total of six TGRA input capture/compare match interrupts can be used as A/D
converter conversion start sources, one for each channel.
Rev. 5.00 Sep 11, 2006 page 436 of 916
REJ09B0332-0500