h8s-2628 Renesas Electronics Corporation., h8s-2628 Datasheet - Page 248

no-image

h8s-2628

Manufacturer Part Number
h8s-2628
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)
2. Examples of waveform output operation
Rev. 3.00 Oct 04, 2005 page 208 of 598
REJ09B0155-0300
Figure 10.6 shows an example of 0 output/1 output.
In this example TCNT has been designated as a free-running counter, and settings have been
made such that 1 is output by compare match A, and 0 is output by compare match B. When
the set level and the pin level coincide, the pin level does not change.
Figure 10.7 shows an example of toggle output.
In this example, TCNT has been designated as a periodic counter (with counter clearing on
compare match B), and settings have been made such that the output is toggled by both
compare match A and compare match B.
H'FFFF
TGRB
TGRA
H'0000
TIOCB
TIOCA
H'FFFF
TGRA
TGRB
H'0000
TIOCA
TIOCB
TCNT value
TCNT value
Figure 10.6 Example of 0 Output/1 Output Operation
Figure 10.7 Example of Toggle Output Operation
Counter cleared by TGRB compare match
No change
No change
No change
No change
Toggle output
Toggle output
1 output
0 output
Time
Time

Related parts for h8s-2628