HD6417021 Hitachi Semiconductor, HD6417021 Datasheet - Page 273

no-image

HD6417021

Manufacturer Part Number
HD6417021
Description
SuperH RISC engine
Manufacturer
Hitachi Semiconductor
Datasheet
PWM Mode Operation: Figure 10.29 illustrates PWM mode operations. When the PWM mode
is set, the TIOCA pin becomes the output pin. Output is 1 when the TCNT matches the GRA, and
0 when the TCNT matches the GRB. The 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.
Figure 10.28 Procedure for Selecting the PWM Mode
Select counter clear source
Select counter clock
Select PWM mode
Start counting
PWM mode
PWM mode
Set GRA
Set GRB
(1)
(4)
(6)
(2)
(3)
(5)
HITACHI 259

Related parts for HD6417021