EasyManua.ls Logo

Hitachi SH7032 - Page 292

Hitachi SH7032
690 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
257
Output selection
Select waveform
output mode
Select
output timing
Start counting
Waveform output
(1)
(2)
(3)
Figure 10.19 Procedure for Selecting Compare Match Waveform Output Mode
Waveform output operation
Figure 10.20 illustrates 0 output/1 output. In the example, TCNT is a free-running counter, 0 is
output upon compare match A, and 1 is output upon compare match B. When the pin level
matches the set level, the pin level does not change.
Figure 10.21 shows an example of toggle output. In the figure, TCNT operates as a periodic
counter cleared by GRB compare match with toggle output at both compare match A and
compare match B.
H'FFFF
TIOCB
TCNT value
Time
GRB
GRA
TIOCA
Does not change Does not change 1 output
Does not change Does not change 0 output
Figure 10.20 Example of 0 Output/1 Output

Table of Contents

Related product manuals