English
Language : 

HD64F3687GHV Datasheet, PDF (261/566 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
Section 13 Timer Z
13.4.2 Waveform Output by Compare Match
Timer Z can perform 0, 1, or toggle output from the corresponding FTIOA, FTIOB, FTIOC, or
FTIOD output pin using compare match A, B, C, or D.
Figure 13.12 shows an example of the setting procedure for waveform output by compare match.
Output selection
Select waveform output mode
Set output timing
Enable waveform output
[1] Select 0 output, 1 output, or toggle
output as a compare much output, by
means of TIOR. The initial values set in
[1]
TOCR are output unit the first compare
match occurs.
[2] Set the timing for compare match
generation in GRA/GRB/GRC/GRD.
[2] [3] Enable or disable the timer output by
TOER.
[4] Set the STR bit in TSTR to 1 to start the
TCNT count operation.
[3]
Start count operation
[4]
<Waveform output>
Figure 13.12 Example of Setting Procedure for Waveform Output by Compare Match
1. Examples of waveform output operation
Figure 13.13 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 such that 0 is output by compare match A, and 1 is output by compare match B. When
the set level and the pin level coincide, the pin level does not change.
Rev. 3.00 Sep. 10, 2007 Page 227 of 528
REJ09B0216-0300