183
Chapter 7 Timer/Counter Units
7
Table 7-17 PWM Output on TO2 and TO3 (fCLK = 6 MHz)
Count clock
fCLK/16
fCLK/32
fCLK/64
fCLK/128
fCLK/256
fCLK/512
Minimum pulse width
2.7
5.3
10.7
21.3
42.7
85.3
PWM period (ms)
0.7
1.4
2.7
5.5
10.9
21.8
PWM frequency (Hz)
1465
732
366
183
92
46
Fig. 7-86 shows an example of 2-channel PWM output. Fig. 7-87 shows PWM output when FFH is set in the CR20compare register.Fig. 7-86 Example of PWM Output Using TM2
FFH
CR20
CR20
CR20
CR21
CR21
TM2
count value
0H
INTC20
INTC21
TO2
TO3
FFH
FFH
Remark ALV2 = 0, ALV3 = 0