Rev. 2.00, 09/03, page 350 of 690
Examples of PWM Mode Operation: Figure 14.12 shows an example of PWM mode operation.
In this example, TGRB compare match is set as the TCNT clearing source, 0 is set as the initial
output value of the TO pin by TGRA, and 1 is set as the output value by TGRA compare match.
In this case, the value set in TGRB is used as the period, and the value set in TGRA as the duty.
TCNT value
TGRB
H'0000
TO
Time
TGRA
Counter cleared by
TGRB compare match
Figure 14.12 Example of PWM Mode Operation (1)
Figure 14.13 shows examples of PWM waveform output with 0% duty and 100% duty in PWM
mode.
TCNT
TGRA=1
TGRA=2
TGRA=3
↑
Rewrite timing for TGRA
Period: TGRB=2
0
2
1
2
0
TGRA=0
Figure 14.13 Examples of PWM Mode Operation (2)
Summary of Contents for SH7705
Page 2: ......
Page 70: ...Rev 2 00 09 03 page 24 of 690 ...
Page 194: ...Rev 2 00 09 03 page 148 of 690 ...
Page 284: ...Rev 2 00 09 03 page 238 of 690 ...
Page 338: ...Rev 2 00 09 03 page 292 of 690 ...
Page 354: ...Rev 2 00 09 03 page 308 of 690 ...
Page 374: ...Rev 2 00 09 03 page 328 of 690 ...
Page 420: ...Rev 2 00 09 03 page 374 of 690 ...
Page 476: ...Rev 2 00 09 03 page 430 of 690 ...
Page 482: ...Rev 2 00 09 03 page 436 of 690 ...
Page 552: ...Rev 2 00 09 03 page 506 of 690 ...
Page 630: ...Rev 2 00 09 03 page 584 of 690 ...
Page 739: ...SH7705 Group Hardware Manual REJ09B0082 0200O ...