English
Language : 

SH7080_09 Datasheet, PDF (597/1622 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH RISC engine Family
Section 11 Multi-Function Timer Pulse Unit 2 (MTU2)
Figure 11.27 shows an example of PWM mode 2 operation.
In this example, synchronous operation is designated for channels 0 and 1, TGRB_1 compare
match is set as the TCNT clearing source, and 0 is set for the initial output value and 1 for the
output value of the other TGR registers (TGRA_0 to TGRD_0, TGRA_1), outputting a 5-phase
PWM waveform.
In this case, the value set in TGRB_1 is used as the cycle, and the values set in the other TGRs are
used as the duty levels.
TCNT value
TGRB_1
TGRA_1
TGRD_0
TGRC_0
TGRB_0
TGRA_0
H'0000
TIOC0A
TIOC0B
TIOC0C
TIOC0D
TIOC1A
Counter cleared by
TGRB_1 compare match
Time
Figure 11.27 Example of PWM Mode Operation (2)
Rev. 4.00 Dec. 15, 2009 Page 537 of 1558
REJ09B0181-0400