14 16-BIT PWM TIMERS (T16B)
14-16
Seiko Epson Corporation
S1C17M12/M13 TECHNICAL MANUAL
(Rev. 1.2)
14.4.4 TOUT Output Control
Comparator mode can generate TOUT signals using the comparator MATCH and counter MAX/ZERO signals. The
generated signals can be output to outside the IC. Figure 14.4.4.1 shows the TOUT output circuits (circuits 0 and 1).
TOUT
output control
0
Comparator 0
ZERO signal
MAX signal
MATCH signal
T16BnCCCTL0 register
T16BnCCCTL1 register
TOUTn0
Comparator/capture block Ch.n
TOUTMD[2:0]
TOUTO
TOUTMT
TOUTINV
TOUT
output control
1
Comparator 1 MATCH signal
TOUTn1
TOUTMD[2:0]
TOUTO
TOUTMT
TOUTINV
Figure 14.4.4.1 TOUT Output Circuits (Circuits 0 and 1)
Each timer channel includes two (four, or six) TOUT output circuits and their signal generation and output can be
controlled individually.
TOUT generation mode
The
T16B
n
CCCTL
m
.TOUTMD[2:0] bits are used to set how the TOUT signal waveform is changed by the
MATCH and MAX/ZERO signals.
Furthermore, when the T16B
n
CCCTL
m
.TOUTMT bit is set to 1, the TOUT circuit uses the MATCH signal out-
put from another system in the circuit pair (0 and 1, 2 and 3, 4 and 5). This makes it possible to change the signal
twice within a counter cycle.
TOUT signal polarity
The TOUT signal polarity (active level) can be set using the T16B
n
CCCTL
m
.TOUTINV bit. It is set to active
high by setting the T16B
n
CCCTL
m
.TOUTINV bit to 0 and active low by setting to 1.
Figures 14.4.4.2 and 14.4.4.3 show the TOUT output waveforms.