Hitachi H8/3048 Hardware Manual page 362

Single-chip microcomputer
Table of Contents

Advertisement

Examples of PWM Mode: Figure 10-29 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
www.DataSheet4U.com
at compare match with GRB.
In the examples shown, TCNT is cleared by compare match with GRA or GRB. Synchronized
operation and free-running counting are also possible.
TCNT value
GRA
GRB
H'0000
TIOCA
TCNT value
GRB
GRA
H'0000
TIOCA
Counter cleared by compare match with GRA
a. Counter cleared by GRA
Counter cleared by compare match with GRB
b. Counter cleared by GRB
Figure 10-29 PWM Mode (Example 1)
350
Time
Time

Advertisement

Table of Contents
loading

Table of Contents