17-14
Seiko Epson Corporation
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)
(3)
Repeat
up/down count mode
3.1)
T16B_
n
CCCTL
m
.CBUFMD[2:0] bits = 0x0
3.2)
T16B_
n
CCCTL
m
.CBUFMD[2:0] bits = 0x1
3.3)
T16B_
n
CCCTL
m
.CBUFMD[2:0] bits = 0x2
CMPCAPmIF =
1
CMPCAPmIF = 1
CMPCAPmIF =
1
Data (W)
→
CC[15:0]
Data (W)
→
CC[15:0]
MODEN = 1
PRESET = 1
Data (W)
→
MC[15:0]
0xffff
0x0000
Counter
MAX value
(T16B_nMC register)
Time
Data (W)
→
CC[15:0]
Compare buffer
value
Count cycle
Compare period
during counting up
CMPCAPmIF =
1
RUN = 1
CMPCAPmIF =
1
Software operation
Hardware operation
Compare period
during counting
down
CNTMAXIF = 1
CNTMAXIF =
1
CNTZEROIF = 1
CNTZEROIF =
1
CMPCAPmIF = 1
CMPCAPmIF = 1
CMPCAPmIF = 1
CMPCAPmIF = 1
CNTZEROIF = 1
Data (W)
→
CC[15:0]
Data (W)
→
CC[15:0]
MODEN = 1
PRESET = 1
Data (W)
→
MC[15:0]
0xffff
0x0000
Counter
MAX value
(T16B_nMC register)
Time
Data (W)
→
CC[15:0]
Compare buffer
value
Count cycle
Compare period
during counting up
CNTZEROIF = 1
RUN = 1
Compare period
during counting
down
CNTZEROIF = 1
CNTZEROIF = 1
CMPCAPmIF = 1
CMPCAPmIF = 1
CMPCAPmIF = 1
CMPCAPmIF = 1
CNTZEROIF = 1
Data (W)
→
CC[15:0]
Data (W)
→
CC[15:0]
MODEN = 1
PRESET = 1
Data (W)
→
MC[15:0]
0xffff
0x0000
Counter
MAX value
(T16B_nMC register)
Time
Data (W)
→
CC[15:0]
Compare buffer
value
Count cycle
Compare period
during counting up
CNTMAXIF = 1
RUN = 1
Compare period
during counting
down
CNTZEROIF = 1
CNTMAXIF = 1
Summary of Contents for S1C31D50
Page 461: ...25 1 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 25 Package TQFP12 48PIN ...
Page 462: ...25 2 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP13 64PIN ...
Page 463: ...25 3 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 TQFP14 80PIN ...
Page 464: ...25 4 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP15 100PIN ...