English
Language : 

HD6413007F20 Datasheet, PDF (359/798 Pages) Renesas Technology Corp – Hardware Manual Renesas 16-Bit Single-Chip Microcomputer H8 Family/H8/300H Series
9. 16-Bit Timer
Examples of PWM Mode: Figure 9.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
Counter cleared by compare match A
GRB
H'0000
Time
TIOCA
a. Counter cleared by GRA (TOA = 1)
16TCNT value
GRB
Counter cleared by compare match B
GRA
H'0000
Time
TIOCA
b. Counter cleared by GRB (TOA = 0)
Figure 9.27 PWM Mode (Example 1)
Figure 9.28 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,
Rev.5.00 Sep. 12, 2007 Page 329 of 764
REJ09B0396-0500