English
Language : 

SH7763 Datasheet, PDF (799/2026 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC Engine Family SH-4A Series
Section 20 16-Bit Timer Pulse Unit (TPU)
(b) Examples of waveform output operation
Figure 20.6 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
so 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
H'0000
TPU_TO pin (1 output)
TPU_TO pin (0 output)
No change
No change
No change
Time
No change
Figure 20.6 Example of 0 Output/1 Output Operation
Figure 20.7 shows an example of toggle output.
In this example TCNT has been designated as a periodic counter (with counter clearing performed
by compare match B), and settings have been made so that output is toggled by compare match A.
TCNT value
H'FFFF
TGRB
TGRA
H'0000
Counter cleared by TGRB compare match
Time
TPU_TO pin
Toggle output
Figure 20.7 Example of Toggle Output Operation
Rev. 1.00 Oct. 01, 2007 Page 733 of 1956
REJ09B0256-0100