Renesas H8SX/1650 Hardware Manual page 371

Renesas 32-bit cisc microcomputer h8sx family / h8sx/1600 series
Table of Contents

Advertisement

(b) Examples of waveform output operation
Figure 9.6 shows an example of 0-output and 1-output.
In this example, TCNT has been designated as a free-running counter, and settings have been
made so that 1 is output by compare match A, and 0 is output by compare match B. When the set
level and the pin level match, the pin level does not change.
TCNT value
H'FFFF
TGRA
TGRB
H'0000
TIOCA
TIOCB
Figure 9.6 Example of 0-Output/1-Output Operation
Figure 9.7 shows an example of toggle output.
In this example, TCNT has been designated as a periodic counter (with counter clearing performed
by compare match B), and settings have been made so that output is toggled by both compare
match A and compare match B.
TCNT value
H'FFFF
TGRB
TGRA
H'0000
TIOCB
TIOCA
No change
Counter cleared by TGRB compare match
Figure 9.7 Example of Toggle Output Operation
Section 9 16-Bit Timer Pulse Unit (TPU)
No change
No change
Rev.2.00 Jun. 28, 2007 Page 349 of 666
Time
No change
1-output
0-output
Time
Toggle-output
Toggle-output
REJ09B0311-0200

Advertisement

Table of Contents
loading

This manual is also suitable for:

R5s61650cH8sx/1650c

Table of Contents