English
Language : 

SH7014 Datasheet, PDF (277/754 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
10. Multifunction Timer Pulse Unit (MTU)
PWM Mode Operation Examples⎯PWM Mode 2 (Figure 10.25): Channels 0 and 1 are set for
synchronous operation, TGR1B register compare-match is used as a TCNT counter clear source,
the other TGR register initial output value is 0 and output compare output value is 1, and a 5-phase
PWM waveform is output. In this example, the value established in the TGR1B register becomes
the period and the value established in the other TGR register becomes the duty cycle.
TCNT value
TGR1B
TGR1A
TGR0D
TGR0C
TGR0B
TGR0A
H'0000
TIOC0A
Counter cleared on TGR1B compare match
Time
TIOC0B
TIOC0C
TIOC0D
TIOC1A
Figure 10.25 PWM Mode Operation Example (Mode 2)
0% Duty Cycle: Figure 10.26 shows an example of a 0% duty cycle PWM waveform output in
PWM mode.
TCNT value
TGRB rewrite
TGRA
TGRB
TIOCA
TGRB rewrite
0% duty cycle
TGRB rewrite
Time
Figure 10.26 PWM Mode Operation Example (0% Duty Cycle)
Rev.5.00 Sep. 27, 2007 Page 243 of 716
REJ09B0398-0500