Hitachi H8/3032 Series Hardware Manual page 240

Table of Contents

Advertisement

Downloaded from
Elcodis.com
electronic components distributor
Figure 8-30 shows examples of the output of PWM waveforms with duty cycles of 0% and 100%.
If the counter is cleared by compare match with GRB, and GRA is set to a higher value than GRB,
the duty cycle is 0%. If the counter is cleared by compare match with GRA, and GRB is set to a
higher value than GRA, the duty cycle is 100%.
TCNT value
GRB
GRA
H'0000
TIOCA
Write to GRA
TCNT value
GRA
GRB
H'0000
TIOCA
Write to GRB
Figure 8-30 PWM Mode (Example 2)
Counter cleared by compare match with GRB
Write to GRA
a. 0% duty cycle
Counter cleared by compare match with GRA
Write to GRB
b. 100% duty cycle
225
Time
Time

Advertisement

Table of Contents
loading

Table of Contents