Figure 8.27 Pwm Mode (Example 1) - Hitachi H8/3062 Hardware Manual

Single-chip microcomputer h8/3062 series; h8/3062b series; h8/3062f-ztat series; h8/3064f-ztat series
Hide thumbs Also See for H8/3062:
Table of Contents

Advertisement

Examples of PWM Mode: Figure 8.27 shows examples of operation in PWM mode. In PWM
mode TIOCA becomes an output pin. The output goes to 1 at compare match with GRA, and to 0
at compare match with GRB.
In the examples shown, 16TCNT is cleared by compare match with GRA or GRB. Synchronized
operation and free-running counting are also possible.
16TCNT value
GRA
GRB
H'0000
TIOCA
16TCNT value
GRB
GRA
H'0000
TIOCA
Counter cleared by compare match A
a. Counter cleared by GRA (TOA = 1)
Counter cleared by compare match B
b. Counter cleared by GRB (TOA = 0)

Figure 8.27 PWM Mode (Example 1)

Time
Time
263

Advertisement

Table of Contents
loading

Table of Contents