English
Language : 

SH7730 Datasheet, PDF (560/1188 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7780 Series
Section 16 16-Bit Timer Pulse Unit (TPU)
(b) Examples of waveform output operation
Figure 16.6 shows an example of 0-output and 1-output.
In this example, TPUn_TCNT has been designated as a free-running counter, and settings have
been made so that 1 or 0 is output by compare match A. When the set level and the pin level
match, the pin level does not change.
TPUn_TCNT value
H'FFFF
TPUn_TGRA
H'0000
TPUn_TO0 to
TPUn_TO3 pins
(1-output)
TPUn_TO0 to
TPUn_TO3 pins
(0-output)
No change
No change
No change
No change
Figure 16.6 Example of 0-Output/1-Output Operation
Time
Figure 16.7 shows an example of toggle output.
In this example, TPUn_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.
TPUn_TCNT value
H'FFFF
TPUn_TGRB
Counter cleared by TPUn_TGRB
compare match
TPUn_TGRA
H'0000
TPUn_TO0 to
TPUn_TO3 pins
Time
Toggle-output
Figure 16.7 Example of Toggle Output Operation
Rev. 1.00 Sep. 19, 2007 Page 512 of 1136
REJ09B0359-0100