
17 16-BIT PWM TIMERS (T16B)
17-18
Seiko Epson Corporation
S1C31D50/D51 TECHNICAL MANUAL
(Rev. 2.00)
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 17.4.4.2 and 17.4.4.3 show the TOUT output waveforms.
1
0
2
3
4
5
0
1
2
3
4
5
0
1
2
3
RUN
PRESET
Count clock
T16B_nTC.TC[15:0]
MATCH signal
MAX signal
T16B_nCCCTLm.TOUTO
TOUT output (
*
)
Software control mode (0x0)
Set mode (0x1)
Toggle/reset mode (0x2)
Set/reset mode (0x3)
Toggle mode(0x4)
Reset mode (0x5)
Toggle/set mode (0x6)
Reset/set mode (0x7)
(MAX value = 5, Compare buffer value = 2, T16B_nCCCTLm.TOUTINV bit = 0)
(1) Repeat up count mode
∗
( ) indicates the T16B_nCCCTLm.TOUTMD[2:0] bit-setting value.