h8s-2649 Renesas Electronics Corporation., h8s-2649 Datasheet - Page 308

no-image

h8s-2649

Manufacturer Part Number
h8s-2649
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 10 16-Bit Timer Pulse Unit (TPU)
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
Rev. 2.00 Dec. 05, 2005 Page 270 of 724
REJ09B0200-0200
Figure 10.5 shows an example of the setting procedure for waveform output by compare match
Figure 10.5 Example of Setting Procedure for Waveform Output by Compare Match
TGR
H'0000
CST bit
TGF
TCNT value
Select waveform output mode
Start count operation
<Waveform output>
Set output timing
Output selection
Figure 10.4 Periodic Counter Operation
[1]
[2]
[3]
[1]
[2]
[3]
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.
Set the timing for compare match generation in
TGR.
Set the CST bit in TSTR to 1 to start the count
operation.
Counter cleared by TGR
compare match
Flag cleared by software or
DTC activation
Time

Related parts for h8s-2649