17.6
Exemplary Uses of the Timer X1
Figure 17.12 indicated below shows an example of outputting at optional phase difference of the
pulses of the 50% duty. For this setting, follow the procedures listed below.
(1) set the CCLRA bit of the TCSRX to "1".
(2) Each time a comparing match occurs, the OLVIA bit and the OLVLB bit are reversed by use
of the software.
H'FFFF
OCRA
OCRB
H'0000
FTOA
FTOB
Rev. 2.0, 11/00, page 384 of 1037
FRC
Figure 17.12 An Exemplary Pulse Outputting
Clearing the
counter