Datasheet

Table Of Contents
Section 14 16-Bit Timer Pulse Unit (TPU)
Rev. 2.00 Jul. 04, 2007 Page 302 of 692
REJ09B0309-0200
(4) Examples of PWM Mode Operation
Figure 14.18 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 are used as
the duty levels.
TCNT value
TGRA
H'0000
TIOCA
Time
TGRB
Counter cleared by
TGRA compare match
Figure 14.18 Example of PWM Mode Operation (1)