
328
Output selection
Select waveform
output mode
Select
output timing
Start counting
1
2
3
Figure 12.10 Procedure for Selecting Compare Match Waveform Output Operation
Waveform Output Operation (0 Output/1 Output): Figure 12.11 shows 0 output/1 output. In
the example, TCNT is a free-running counter, 1 is output upon compare-match A and 0 is output
upon compare-match B. When the pin level matches the set level, the pin level does not change.
H'FFFF
H'0000
TIOCA
TCNT value
Time
TGRA
TGRB
TIOCB
Does not change
Does not change
1 output
Does not change
Does not change
0 output
Figure 12.11 Example of 0 Output/1 Output
Waveform Output Operation (Toggle Output): Figure 12.12 shows the toggle output. In the
example, the TCNT operates as a periodic counter cleared by compare-match B, with toggle
output at both compare-match A and compare-match B.
Summary of Contents for SH7041 Series
Page 2: ......
Page 6: ......
Page 38: ...xvi ...
Page 44: ...6 ...
Page 46: ...8 ...
Page 48: ...10 ...
Page 82: ...44 ...
Page 114: ...76 ...
Page 118: ...80 ...
Page 124: ...86 ...
Page 170: ...132 ...
Page 250: ...212 ...
Page 492: ...454 ...
Page 506: ...468 ...
Page 604: ...566 ...
Page 684: ...646 ...
Page 706: ...668 ...
Page 778: ...740 ...
Page 780: ...742 ...
Page 818: ...780 ...
Page 850: ...812 ...
Page 923: ...SH7040 SH7041 SH7042 SH7043 SH7044 SH7045 Group Hardware Manual REJ09B0044 0600O ...