(2)
Examples of PWM Mode Operation
Figure 12.22 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 TGRB registers as the duty.
TCNT value
TGRA
TGRB
H'0000
TIOCA
Figure 12.22 Example of PWM Mode Operation (1)
Section 12 16-Bit Timer Pulse Unit (TPU)
Counter cleared by
TGRA compare match
Rev. 3.00 Jul. 14, 2005 Page 349 of 986
Time
REJ09B0098-0300