HD6417320 RENESAS [Renesas Technology Corp], HD6417320 Datasheet - Page 600

no-image

HD6417320

Manufacturer Part Number
HD6417320
Description
Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7700 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Section 15
(2)
Figure 15.12 shows an example of PWM mode operation.
In this example, TGRB 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 TGRA output value.
In this case, the value set in TGRB is used as the period, and the value set in TGRA as the duty.
Figure 15.13 shows examples of PWM waveform output with 0% duty and 100% duty in PWM
mode.
Rev. 3.00 Jan. 18, 2008 Page 538 of 1458
REJ09B0033-0300
Examples of PWM Mode Operation
TPU_TO pin
16-Bit Timer Pulse Unit (TPU)
TGRB
TGRA
H'0000
TGRA=3
TGRA=0
TGRA=1
TGRA=2
TCNT
TCNT value
Figure 15.13
Figure 15.12
2
0
↑ Rewrite timing for TGRA
Examples of PWM Mode Operation (2)
Example of PWM Mode Operation (1)
Period: TGRB=2
Counter cleared by
TGRB compare match
1
2
0
Time

Related parts for HD6417320