English
Language : 

HD64F3437TF16 Datasheet, PDF (211/752 Pages) Hitachi Semiconductor – 12 V must not be applied to the S-mask model (single-power-supply specification), as this may permanently damage the device.
8.6 Sample Application
In the example below, the free-running timer is used to generate two square-wave outputs with a
50% duty cycle and arbitrary phase relationship. The programming is as follows:
1. The CCLRA bit in TCSR is set to 1.
2. Each time a compare-match interrupt occurs, software inverts the corresponding output level
bit in TOCR (OLVLA or OLVLB).
H'FFFF
OCRA
OCRB
H'0000
FTOA
FRC
Clear counter
FTOB
Figure 8.15 Square-Wave Output (Example)
182