Section 9 16-Bit Timer Pulse Unit (TPU)
Rev. 3.00 Mar. 14, 2006 Page 314 of 804
REJ09B0104-0300
(2)
PWM mode 2
PWM output is generated using one TGR as the cycle register and the others as duty cycle
registers. The output specified in TIOR is performed by means of compare matches. Upon counter
clearing by a cycle register compare match, the output value of each pin is the initial value set in
TIOR. If the set values of the cycle and duty cycle registers are identical, the output value does not
change when a compare match occurs.
In PWM mode 2, a maximum 15-phase PWM output is possible by combined use with
synchronous operation.
The correspondence between PWM output pins and registers is shown in table 9.33.
Table 9.33 PWM Output Registers and Output Pins
Output Pins
Channel
Registers
PWM Mode 1
PWM Mode 2
TGRA_0 TIOCA0
TGRB_0
TIOCA0
TIOCB0
TGRC_0 TIOCC0
0
TGRD_0
TIOCC0
TIOCD0
TGRA_1 TIOCA1
1
TGRB_1
TIOCA1
TIOCB1
TGRA_2 TIOCA2
2
TGRB_2
TIOCA2
TIOCB2
TGRA_3 TIOCA3
TGRB_3
TIOCA3
TIOCB3
TGRC_3 TIOCC3
3
TGRD_3
TIOCC3
TIOCD3
TGRA_4 TIOCA4
4
TGRB_4
TIOCA4
TIOCB4
TGRA_5 TIOCA5
5
TGRB_5
TIOCA5
TIOCB5
Note: In PWM mode 2, PWM output is not possible for the TGR register in which the cycle is set.
electronic components distributor