h8s-2138 Renesas Electronics Corporation., h8s-2138 Datasheet - Page 351

no-image

h8s-2138

Manufacturer Part Number
h8s-2138
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
11.5
In the example below, the free-running timer is used to generate pulse outputs with a 50% duty
cycle and arbitrary phase relationship. The programming is as follows:
H'FFFF
OCRA
OCRB
H'0000
FTOA
FTOB
The CCLRA bit in TCSR is set to 1.
Each time a compare-match interrupt occurs, software inverts the corresponding output level
bit in TOCR (OLVLA or OLVLB).
Sample Application
Figure 11.17 Pulse Output (Example)
FRC
Rev. 4.00 Jun 06, 2006 page 297 of 1004
Counter clear
Section 11 16-Bit Free-Running Timer
REJ09B0301-0400

Related parts for h8s-2138