English
Language : 

HD6417750RF240V Datasheet, PDF (235/606 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8S Family/H8S/2600 Series
TCNT value
TGR
Section 10 16-Bit Timer Pulse Unit (TPU)
Counter cleared by TGR
compare match
H'0000
Time
CST bit
TGF
Flag cleared by software or
DTC activation
Figure 10.4 Periodic Counter Operation
Waveform Output by Compare Match: The TPU can perform 0, 1, or toggle output from the
corresponding output pin using compare match.
1. Example of setting procedure for waveform output by compare match
Figure 10.5 shows an example of the setting procedure for waveform output by compare
match.
Output selection
Select waveform output mode [1]
[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 unit 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.
Set output timing
[2]
Start count operation
[3]
<Waveform output>
Figure 10.5 Example of Setting Procedure for Waveform Output by Compare Match
Rev. 7.00 Sep. 11, 2009 Page 199 of 566
REJ09B0211-0700