English
Language : 

SH7720 Datasheet, PDF (595/1524 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7700 Series
Section 15 16-Bit Timer Pulse Unit (TPU)
(b) Examples of waveform output operation
Figure 15.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 15.6 Example of 0 Output/1 Output Operation
Figure 15.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 15.7 Example of Toggle Output Operation
Rev. 3.00 Jan. 18, 2008 Page 533 of 1458
REJ09B0033-0300