Datasheet
Section 16 Timer RD
REJ09B0465-0300 Rev. 3.00 Page 549 of 982
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
(1) Examples of Waveform Output Operation
Figure 16.13 shows an example of 0 output/1 output.
In this example, TRDCNT has been designated as a free-running counter, and settings have been
made such that 0 is output by compare match A, and 1 is output by compare match B. When the
set level and the pin level coincide, the pin level does not change.
H'FFFF
H'0000
FTIOB
Time
No change No change
No change No change
TRDCNT value
FTIOA
Figure 16.13 Example of 0 Output/1 Output Operation
Figure 16.14 shows an example of toggle output.
In this example, TRDCNT has been designated as a periodic counter (with counter clearing on
compare match B), and settings have been made such that the output is toggled by both compare
match A and compare match B.