aPPenDiX a liST OF i/O ReGiSTeRS
S1C17624/604/622/602/621 TeChniCal Manual
Seiko epson Corporation
aP-a-27
Register name address
Bit
name
Function
Setting
init. R/W
Remarks
T16a
Comparator/
Capture Ch.0
Control Register
(T16a_CCCTl0)
0x5404
(16 bits)
D15–14 CaPBTRG
[1:0]
Capture B trigger select
CAPBTRG[1:0] Trigger edge
0x0 R/W
0x3
0x2
0x1
0x0
↑
and
↓
↓
↑
None
D13–12 TOuTBMD
[1:0]
TOUT B mode select
TOUTBMD[1:0]
Mode
0x0 R/W
0x3
0x2
0x1
0x0
cmp B:
↑
or
↓
cmp A:
↑
or
↓
cmp A:
↑
, B:
↓
Off
D11–10 –
reserved
–
–
–
0 when being read.
D9
TOuTBinV TOUT B invert
1 Invert
0 Normal
0
R/W
D8
CCBMD
T16A_CCB register mode select
1 Capture
0 Comparator
0
R/W
D7–6 CaPaTRG
[1:0]
Capture A trigger select
CAPATRG[1:0] Trigger edge
0x0 R/W
0x3
0x2
0x1
0x0
↑
and
↓
↓
↑
None
D5–4 TOuTaMD
[1:0]
TOUT A mode select
TOUTAMD[1:0]
Mode
0x0 R/W
0x3
0x2
0x1
0x0
cmp B:
↑
or
↓
cmp A:
↑
or
↓
cmp A:
↑
, B:
↓
Off
D3–2 –
reserved
–
–
–
0 when being read.
D1
TOuTainV TOUT A invert
1 Invert
0 Normal
0
R/W
D0
CCaMD
T16A_CCA register mode select
1 Capture
0 Comparator
0
R/W
T16a
Comparator/
Capture Ch.0
a
Data Register
(T16a_CCa0)
0x5406
(16 bits)
D15–0 CCa[15:0] Compare/capture A data
CCA15 = MSB
CCA0 = LSB
0x0 to 0xffff
0x0 R/W
T16a
Comparator/
Capture Ch.0 B
Data Register
(T16a_CCB0)
0x5408
(16 bits)
D15–0 CCB[15:0] Compare/capture B data
CCB15 = MSB
CCB0 = LSB
0x0 to 0xffff
0x0 R/W
T16a
Comparator/
Capture Ch.0
interrupt enable
Register
(T16a_ien0)
0x540a
(16 bits)
D15–6 –
reserved
–
–
–
0 when being read.
D5
CaPBOWie Capture B overwrite interrupt enable 1 Enable
0 Disable
0
R/W
D4
CaPaOWie Capture A overwrite interrupt enable 1 Enable
0 Disable
0
R/W
D3
CaPBie
Capture B interrupt enable
1 Enable
0 Disable
0
R/W
D2
CaPaie
Capture A interrupt enable
1 Enable
0 Disable
0
R/W
D1
CBie
Compare B interrupt enable
1 Enable
0 Disable
0
R/W
D0
Caie
Compare A interrupt enable
1 Enable
0 Disable
0
R/W
T16a
Comparator/
Capture Ch.0
interrupt Flag
Register
(T16a_iFlG0)
0x540c
(16 bits)
D15–6 –
reserved
–
–
–
0 when being read.
D5
CaPBOWiF Capture B overwrite interrupt flag 1 Cause of
interrupt
occurred
0 Cause of
interrupt not
occurred
0
R/W Reset by writing 1.
D4
CaPaOWiF Capture A overwrite interrupt flag
0
R/W
D3
CaPBiF
Capture B interrupt flag
0
R/W
D2
CaPaiF
Capture A interrupt flag
0
R/W
D1
CBiF
Compare B interrupt flag
0
R/W
D0
CaiF
Compare A interrupt flag
0
R/W