English
Language : 

SH7615 Datasheet, PDF (739/925 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperH RISC engine Family/SH7600 Series
16.4.5 PWM Modes
In PWM mode, PWM waveforms are output from the output pins. 0, 1, or toggle output can be
selected as the output level in response to compare match of each TGR.
Designating TGR 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. Synchronous operation is
also possible.
There are two PWM modes, as described below.
• PWM mode 1
PWM output is generated by pairing TGRA with TGRB and TGRC with TGRD. The output
specified by bits IOA3 to IOA0 and IOC3 to IOC0 in TIOR is performed in response to
compare match A and C, and the output specified by bits IOB3 to IOB0 and IOD3 to IOD0 in
TIOR in response to compare match B and D, from pins TIOCA and TIOCC. The initial output
value is the value set in TGRA or TGRC. If the set values of paired TGRs are identical, the
output value does not change when a compare match occurs.
In PWM mode 1, a maximum 4-phase PWM output is possible.
• PWM mode 2
PWM output is generated using one TGR as the cycle register and the others as duty registers.
The output specified by TIOR is performed in response to a compare match. Also, when the
counter is cleared by a synchronization register compare match, pin output values are the
initial values set in TIOR. If the set values of the period and duty registers are identical, the
output value does not change when a compare match occurs.
In PWM mode 2, a maximum 7-phase PWM output is possible by combined use with
synchronous operation.
The correspondence between PWM output pins and registers is shown in table 16.6.
Rev. 2.00, 03/05, page 701 of 884