English
Language : 

D12320VF25IV Datasheet, PDF (518/1304 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
Section 10 16-Bit Timer Pulse Unit (TPU)
TCNT value
TGR
Counter cleared by TGR
compare match
H'0000
CST bit
TGF
Time
Flag cleared by software or
DTC/DMAC* activation
Note: * The DMAC is not supported in the H8S/2321.
Figure 10.8 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.
• 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
[3]
<Waveform output>
Figure 10.9 Example of Setting Procedure for Waveform Output by Compare Match
Rev.6.00 Sep. 27, 2007 Page 486 of 1268
REJ09B0220-0600