English
Language : 

SH7032 Datasheet, PDF (295/687 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
Section 10 16-Bit Integrated Timer Pulse Unit (ITU)
PWM mode
Select counter clock
(1)
Select counter clear source (2)
Set GRA
(3)
Set GRB
(4)
Select PWM mode
(5)
Start counting
(6)
PWM mode
Figure 10.28 Procedure for Selecting PWM Mode
PWM Mode Operation: Figure 10.29 illustrates PWM mode operation. When PWM mode is set,
the TIOCA pin becomes the output pin. Output is 1 when TCNT matches GRA, and 0 when
TCNT matches GRB. TCNT can be cleared by compare match with either GRA or GRB. This can
be used in both free-running and synchronized operation.
Figure 10.30 shows examples of PWM waveforms output with 0% and 100% duty cycles. A 0%
duty waveform can be obtained by setting the counter clear source to GRB and then setting GRA
to a larger value than GRB. A 100% duty waveform can be obtained by setting the counter clear
source to GRA and then setting GRB to a larger value than GRA.
Rev. 7.00 Jan 31, 2006 page 269 of 658
REJ09B0272-0700