Datasheet

Section 14 Timer Z
Rev. 3.00 Mar. 15, 2006 Page 241 of 526
REJ09B0060-0300
14.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 14.12 shows an example of the setting procedure for waveform output by compare match.
[1] Select 0 output, 1 output, or toggle output
as a compare much output, by means of
TIOR. The initial values set in TOCR are
output unit the first compare match occurs.
[2] Set the timing for compare match
generation in GRA/GRB/GRC/GRD.
[3] Enable or disable the timer output by TOER.
[4] Set the STR bit in TSTR to 1 to start the
TCNT count operation.
[1]
Output selection
Select waveform output mode
[2]
Set output timing
[3]
Enable waveform output
[4]
Start count operation
<Waveform output>
Figure 14.12 Example of Setting Procedure for Waveform Output by Compare Match