17 16-BIT PWM TIMERS (T16B)
S1C31D50/D51 TECHNICAL MANUAL
Seiko Epson Corporation
17-19
(Rev. 2.00)
4
5
3
2
1
0
5
4
3
2
1
0
5
4
3
2
RUN
PRESET
Count clock
T16B_nTC.TC[15:0]
MATCH signal
ZERO 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)
(2) Repeat down count mode
∗
( ) indicates the T16B_nCCCTLm.TOUTMD[2:0] bit-setting value.
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)
(3) Repeat up/down count mode
∗
( ) indicates the T16B_nCCCTLm.TOUTMD[2:0] bit-setting value.
1
0
2
3
4
5
4
3
2
1
0
1
2
3
4
5
Figure 17.4.4.2 TOUT Output Waveform (T16B_nCCCTLm.TOUTMT bit = 0)