Hitachi SH7032 Hardware Manual page 292

Superh risc engine
Table of Contents

Advertisement

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.
TCNT value
H'FFFF
GRB
GRA
TIOCB
TIOCA
Output selection
Select waveform
output mode
Select
output timing
Start counting
Waveform output
Does not change
Does not change
Figure 10.20 Example of 0 Output/1 Output
(1)
(2)
(3)
Does not change
Does not change
Time
1 output
0 output
257

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents