English
Language : 

HD64F2357VF13 Datasheet, PDF (404/1049 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
Waveform Output by Compare Match: The TPU can perform 0, 1, or toggle output from the corresponding output pin
using compare match.
• Example of setting procedure for waveform output by compare match
Figure 10-9 shows an example of the setting procedure for waveform output by compare match
Output selection
Select waveform output mode [1]
Set output timing
[2]
[1] Select initial value 0 output or 1 output, and
compare match output value 0 output, 1 output,
or toggle output, by means of TIOR. The set
initial value is output at the TIOC pin until the
first compare match occurs.
[2] Set the timing for compare match generation in
TGR.
[3] Set the CST bit in TSTR to 1 to start the count
operation.
Start count operation
[3]
<Waveform output>
Figure 10-9 Example of Setting Procedure for Waveform Output by Compare Match
• Examples of waveform output operation
Figure 10-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 10-10 Example of 0 Output/1 Output Operation
Rev.6.00 Oct.28.2004 page 374 of 1016
REJ09B0138-0600H