English
Language : 

D12320VF25V Datasheet, PDF (380/1146 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
Section 9 16-Bit Timer Pulse Unit (TPU)
• Examples of waveform output operation
Figure 9.10 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
TGRB
H'0000
TIOCA
TIOCB
No change
No change
No change
Time
1 output
No change
0 output
Figure 9.10 Example of 0 Output/1 Output Operation
Figure 9.11 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 both
compare match A and compare match B.
TCNT value
H'FFFF
TGRB
TGRA
H'0000
Counter cleared by TGRB compare match
TIOCB
TIOCA
Figure 9.11 Example of Toggle Output Operation
Time
Toggle output
Toggle output
Rev.7.00 Feb. 14, 2007 page 346 of 1108
REJ09B0089-0700