HD6417320 RENESAS [Renesas Technology Corp], HD6417320 Datasheet - Page 598

no-image

HD6417320

Manufacturer Part Number
HD6417320
Description
Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7700 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Section 15
15.4.4
In PWM mode, PWM waveforms are output from the output pins. 0, or 1, output can be selected
as the output level in response to compare match of each TGRA.
Designating TGRB compare match as the counter clearing source enables the period to be set in
that register. All channels can be designated for PWM mode independently.
PWM output is generated from the TPU_TO pin using TGRB as the period register and TGRA as
duty registers. The output specified in TIOR is performed by means of compare matches. Upon
counter clearing by a period register compare match, the output value of each pin is the initial
value set in TIOR. Set TIOR so that the initial output and an output value by compare match are
different. If the same levels or toggle outputs are selected, operation is disabled.
Conditions of duty 0% and 100% are shown below.
• Duty
• Duty 100%: The set value of the duty register (TGRA) is 0.
In PWM mode 1, a maximum 4-phase PWM output is possible.
Rev. 3.00 Jan. 18, 2008 Page 536 of 1458
REJ09B0033-0300
TPU_TO pin
PWM Modes
H'0000
TGRC
TGRB
TGRA
TGRA
16-Bit Timer Pulse Unit (TPU)
0%: The set value of the duty register (TGRA) is TGRB + 1 for the period
register(TGRB).
TCNT value
N (A)
N (A)
Figure 15.10
N (A)
N (B)
Example of Buffer Operation
N (B)
N (TGRB+1)
N (B)
N (TGRB+1)
N (TGRB+1)
Time

Related parts for HD6417320