14 16-BIT PWM TIMERS (T16B)
14-12
Seiko Epson Corporation
S1C17M12/M13 TECHNICAL MANUAL
(Rev. 1.2)
(2.3) T16BnCCCTLm.CBUFMD[2:0] bits = 0x2
0xffff
0x0000
RUN = 1
Data (W)
→
CC[15:0]
Data (W)
→
CC[15:0]
MODEN = 1
CMPCAPmIF = 1
CMPCAPmIF = 1
CMPCAPmIF = 1
CMPCAPmIF = 1
CMPCAPmIF = 1
CNTZEROIF = 1
CNTZEROIF = 1
CNTZEROIF = 1
Data (W)
→
MC[15:0]
Data (W)
→
CC[15:0]
PRESET = 1
Counter
Time
Compare buffer
value
MAX value
(T16BnMC register)
Count cycle
Compare
period
(2.4) T16BnCCCTLm.CBUFMD[2:0] bits = 0x3
0xffff
0x0000
RUN = 1
Data (W)
→
CC[15:0]
Data (W)
→
CC[15:0]
MODEN = 1
CMPCAPmIF = 1
CMPCAPmIF = 1
CMPCAPmIF = 1
CMPCAPmIF = 1
CNTZEROIF = 1
CNTZEROIF = 1
CNTZEROIF = 1
Data (W)
→
MC[15:0]
Data (W)
→
CC[15:0]
PRESET = 1
Counter
Time
Compare buffer
value
MAX value
(T16BnMC register)
Count cycle
Compare
period
(2.5) T16BnCCCTLm.CBUFMD[2:0] bits = 0x4
0xffff
0x0000
RUN = 1
Data (W)
→
CC[15:0]
Data (W)
→
CC[15:0]
MODEN = 1
CMPCAPmIF = 1 CMPCAPmIF = 1 CMPCAPmIF = 1
CNTZEROIF = 1
CNTZEROIF = 1
Data (W)
→
MC[15:0]
Data (W)
→
CC[15:0]
PRESET = 1
Counter
Time
Compare buffer
value
MAX value
(T16BnMC register)
Count cycle
Compare
period
CMPCAPmIF = 1 CMPCAPmIF = 1