English
Language : 

SH7101 Datasheet, PDF (187/486 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
8. Multi-Function Timer Pulse Unit (MTU)
Examples of PWM Mode Operation: Figure 8.21 shows an example of PWM mode 1 operation.
In this example, TGRA compare match is set as the TCNT clearing source, 0 is set for the TGRA
initial output value and output value, and 1 is set as the TGRB output value.
In this case, the value set in TGRA is used as the period, and the values set in the TGRB registers
are used as the duty cycle.
TCNT value
TGRA
Counter cleared by
TGRA compare match
TGRB
H'0000
Time
TIOCA
Figure 8.21 Example of PWM Mode Operation (1)
Rev.2.00 Sep. 27, 2007 Page 153 of 448
REJ09B0394-0200