APPENDIX A LIST OF I/O REGISTERS
S1C33L26 TECHNICAL MANUAL
Seiko Epson Corporation
AP-A-47
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
T16A5 Ch.1
Comparator/
Capture Control
Register
(T16A_CCCTL1)
0x301194
(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
T16A5 Ch.1
Comparator/
Capture A Data
Register
(T16A_CCA1)
0x301196
(16 bits)
D15–0 CCA[15:0] Compare/capture A data
CCA15 = MSB
CCA0 = LSB
0x0 to 0xffff
0x0 R/W
T16A5 Ch.1
Comparator/
Capture B Data
Register
(T16A_CCB1)
0x301198
(16 bits)
D15–0 CCB[15:0] Compare/capture B data
CCB15 = MSB
CCB0 = LSB
0x0 to 0xffff
0x0 R/W
T16A5 Ch.1
Comparator/
Capture
Interrupt Enable
Register
(T16A_IEN1)
0x30119a
(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
T16A5 Ch.1
Comparator/
Capture
Interrupt Flag
Register
(T16A_IFLG1)
0x30119c
(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
0x301200–0x30120e
16-bit Audio PWM Timer (T16P)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
T16P Compare
A Buffer
Register
(T16P_A)
0x301200
(16 bits)
D15–0 CMPA[15:0] Compare A data
CMPA15 = MSB
CMPA0 = LSB
0x0 to 0xffff
X
R/W
T16P Compare
B Buffer
Register
(T16P_B)
0x301202
(16 bits)
D15–0 CMPB[15:0] Compare B data
CMPB15 = MSB
CMPB0 = LSB
0x0 to 0xffff
X
R/W
T16P Counter
Data Register
(T16P_CNT_
DATA)
0x301204
(16 bits)
D15–0 CNT_DATA
[15:0]
Counter data
CNT_DATA15 = MSB
CNT_DATA0 = LSB
0x0 to 0xffff
X
R/W
T16P Volume
Control Register
(T16P_VOL_
CTL)
0x301206
(16 bits)
D15–8 –
reserved
–
–
–
0 when being read.
D7
VOLBPS
Volume control enable
1 Disable
0 Enable
1
R/W Effective only for
16-bit data
D6–0 VOLSEL
[6:0]
Volume level select
VOLSEL[6:0]
Volume level 0x40 R/W
0x7f
0x7e
:
0x40
:
0x2
0x1
0x0
×
127/64
×
126/64
:
×
64/64
:
×
2/64
×
1/64
×
0 (mute)