h8s-2646 Renesas Electronics Corporation., h8s-2646 Datasheet - Page 373

no-image

h8s-2646

Manufacturer Part Number
h8s-2646
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
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 Example Of Setting Procedure For Waveform Output By Compare Match
Figure 10.8 illustrates periodic counter operation.
Figure 10.9 shows an example of the setting procedure for waveform output by compare match
TGR
H'0000
CST bit
TGF
Select waveform output mode
TCNT value
Start count operation
<Waveform output>
Set output timing
Output selection
Figure 10.8 Periodic Counter Operation
[1]
[2]
[3]
[1] Select initial value 0 output or 1 output, and
[2] Set the timing for compare match generation in
[3] Set the CST bit in TSTR to 1 to start the count
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.
TGR.
operation.
Counter cleared by TGR
compare match
Rev. 5.00 Sep 22, 2005 page 347 of 1136
Section 10 16-Bit Timer Pulse Unit (TPU)
Flag cleared by software or
DTC activation
REJ09B0257-0500
Time

Related parts for h8s-2646