Renesas H8SX/1650 Hardware Manual page 370

Renesas 32-bit cisc microcomputer h8sx family / h8sx/1600 series
Table of Contents

Advertisement

Section 9 16-Bit Timer Pulse Unit (TPU)
Figure 9.4 illustrates periodic counter operation.
TCNT value
TGR
H'0000
CST bit
TGF
(2)
Waveform Output by Compare Match
The TPU can perform 0, 1, or toggle output from the corresponding output pin using a compare
match.
(a)
Example of setting procedure for waveform output by compare match
Figure 9.5 shows an example of the setting procedure for waveform output by a compare match.
Output selection
Select waveform output mode
Set output timing
<Waveform output>
Figure 9.5 Example of Setting Procedure for Waveform Output by Compare Match
Rev.2.00 Jun. 28, 2007 Page 348 of 666
REJ09B0311-0200
Figure 9.4 Periodic Counter Operation
[1]
[2]
Start count
[3]
Counter cleared by TGR
compare match
Flag cleared by software or
DTC activation
[1] Select initial value from 0-output or 1-output,
and compare match output value from 0-output,
1-output, or toggle-output, by means of TIOR.
The set initial value is output on 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.
Time

Advertisement

Table of Contents
loading

This manual is also suitable for:

R5s61650cH8sx/1650c

Table of Contents