English
Language : 

SH7263 Datasheet, PDF (552/1862 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7260 Series
Section 11 Multi-Function Timer Pulse Unit 2 (MTU2)
(b) Examples of Waveform Output Operation:
Figure 11.8 shows an example of 0 output/1 output.
In this example TCNT has been designated as a free-running counter, and settings have been made
such that 1 is output by compare match A, and 0 is output by compare match B. When the set level
and the pin level coincide, the pin level does not change.
TCNT value
H'FFFF
TGRA
TGRB
H'0000
TIOCA
TIOCB
No change
No change
Time
No change
1 output
No change
0 output
Figure 11.8 Example of 0 Output/1 Output Operation
Figure 11.9 shows an example of toggle output.
In this example, TCNT 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.
TCNT value
H'FFFF
TGRB
TGRA
H'0000
TIOCB
TIOCA
Counter cleared by TGRB compare match
Time
Toggle output
Toggle output
Figure 11.9 Example of Toggle Output Operation
Rev. 2.00 Mar. 14, 2008 Page 518 of 1824
REJ09B0290-0200