15 16-BIT PWM TIMERS (T16B)
15-10
Seiko Epson Corporation
S1C17M20/M21/M22/M23/M24/M25
TECHNICAL MANUAL (Rev. 1.0)
0xffff
0x0000
(1.2) T16BnCCCTLm.CBUFMD[2:0] bits = 0x1
Data (W)
→
MC[15:0]
Data (W)
→
CC[15:0]
PRESET = 1
Count cycle
RUN = 1
Data (W)
→
CC[15:0]
Data (W)
→
CC[15:0]
MODEN = 1
CMPCAPmIF = 1
CMPCAPmIF = 1
CMPCAPmIF = 1
CMPCAPmIF = 1
CNTMAXIF = 1
CNTMAXIF = 1
CNTMAXIF = 1
Compare period
Counter
Time
Compare buffer
value
MAX value
(T16BnMC register)
0xffff
0x0000
(1.3) T16BnCCCTLm.CBUFMD[2:0] bits = 0x2
Count cycle
RUN = 1
Data (W)
→
CC[15:0]
Data (W)
→
CC[15:0]
MODEN = 1
CMPCAPmIF = 1
CMPCAPmIF = 1
CMPCAPmIF = 1
CMPCAPmIF = 1
CMPCAPmIF = 1
CNTMAXIF = 1
CNTMAXIF = 1
CNTMAXIF = 1
Data (W)
→
MC[15:0]
Data (W)
→
CC[15:0]
PRESET = 1
Compare period
Counter
Time
Compare buffer
value
MAX value
(T16BnMC register)
0xffff
0x0000
(1.4) T16BnCCCTLm.CBUFMD[2:0] bits = 0x3
Count cycle
RUN = 1
Data (W)
→
CC[15:0]
Data (W)
→
CC[15:0]
MODEN = 1
CMPCAPmIF = 1
CMPCAPmIF = 1
CMPCAPmIF = 1
CMPCAPmIF = 1
CNTMAXIF = 1
CNTMAXIF = 1
CNTMAXIF = 1
Data (W)
→
MC[15:0]
Data (W)
→
CC[15:0]
PRESET = 1
Compare period
Counter
Time
Compare buffer
value
MAX value
(T16BnMC register)