HD6412340 HITACHI [Hitachi Semiconductor], HD6412340 Datasheet - Page 358

no-image

HD6412340

Manufacturer Part Number
HD6412340
Description
H8S/2345 F-ZTAT Hardware Manual
Manufacturer
HITACHI [Hitachi Semiconductor]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD6412340TE20
Manufacturer:
SANYO
Quantity:
20 000
Part Number:
HD6412340TE20
Manufacturer:
HITACHI/日立
Quantity:
20 000
Figure 9.26 shows an example of PWM mode 2 operation.
In this example, synchronous operation is designated for channels 0 and 1, TGR1B compare match
is set as the TCNT clearing source, and 0 is set for the initial output value and 1 for the output
value of the other TGR registers (TGR0A to TGR0D, TGR1A), to output a 5-phase PWM
waveform.
In this case, the value set in TGR1B is used as the cycle, and the values set in the other TGRs as
the duty.
TGR1B
TGR1A
TGR0D
TGR0C
TGR0B
TGR0A
H'0000
TIOCA0
TIOCB0
TIOCC0
TIOCD0
TIOCA1
TGRA
TGRB
H'0000
TIOCA
TCNT value
TCNT value
Figure 9.25 Example of PWM Mode Operation (1)
Figure 9.26 Example of PWM Mode Operation (2)
Counter cleared by
TGRA compare match
Counter cleared by TGR1B
compare match
Time
Time
341

Related parts for HD6412340