APPENDIX A LIST OF I/O REGISTERS
AP-A-48
Seiko Epson Corporation
S1C33L26 TECHNICAL MANUAL
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
T16P Control
Register
(T16P_CTL)
0x301208
(16 bits)
D15–12 BCNT[3:0] B match count
0x0 to 0xf
0x0 R/W
D11
RESSEL
PCM data resolution select
1 16 bits
0 8 bits
1
R/W
D10
SGNSEL
PCM data format select
1 Signed
0 Unsigned
1
R/W
D9–8 SPLTMD
[1:0]
Split mode select
SPLTMD[1:0]
Split mode
0x0 R/W Effective only for
16-bit data
0x3
0x2
0x1
0x0
10 bits + 6 bits
9 bits + 7 bits
8 bits + 8 bits
Normal (16 bits)
D7
–
reserved
–
–
–
0 when being read.
D6
SELFM
Fine mode select
1 Fine mode
0 Normal
0
R/W
D5
–
reserved
–
–
–
0 when being read.
D4
INITOL
Initial output level select
1 High
0 Low
0
R/W
D3
CLKSEL
Input clock select
1 External
0 Internal
0
R/W
D2
–
reserved
–
–
–
0 when being read.
D1
PRESET
T16P reset
1 Reset
0 Ignored
0
W
D0
–
reserved
–
–
–
T16P Running
Control Register
(T16P_RUN)
0x30120a
(16 bits)
D15–1 –
reserved
–
–
–
0 when being read.
D0
PRUN
T16P run/stop control
1 Run
0 Stop
0
R/W
T16P Internal
Clock Control
Register
(T16P_CLK)
0x30120c
(16 bits)
D15–4 –
reserved
–
–
–
0 when being read.
D3–0 CLKDIV
[3:0]
Counter clock division ratio select
(Prescaler output clock)
CLKDIV[3:0]
Division ratio 0x0 R/W Source clock =
PCLK1
0xf–0xd
0xc
0xb
0xa
0x9
0x8
0x7
0x6
0x5
0x4
0x3
0x2
0x1
0x0
reserved
1/4096
1/2048
1/1024
1/512
1/256
1/128
1/64
1/32
1/16
1/8
1/4
1/2
1/1
T16P Interrupt
Control Register
(T16P_INT)
0x30120e
(16 bits)
D15–11 –
reserved
–
–
–
0 when being read.
D10
BUFEF
Buffer empty interrupt flag
1 Cause of
interrupt
occurred
0 Cause of
interrupt not
occurred
X
R/W Reset by writing 1.
D9
INTBF
B match interrupt flag
0
R/W
D8
INTAF
A match interrupt flag
0
R/W
D7–3 –
reserved
–
–
–
0 when being read.
D2
INTBEEN
Buffer empty interrupt enable
1 Enable
0 Disable
0
R/W
D1
INTBEN
B match interrupt enable
1 Enable
0 Disable
0
R/W
D0
INTAEN
A match interrupt enable
1 Enable
0 Disable
0
R/W
0x301300–0x301306
A/D Converter (ADC10)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
A/D Conversion
Result Register
(ADC10_ADD)
0x301300
(16 bits)
D15–0 ADD[15:0] A/D converted data
ADD[9:0] are effective when
STMD = 0 (ADD[15:10] = 0)
ADD[15:6] are effective when
STMD = 1 (ADD[5:0] = 0)
0x0 to 0x3ff
0x0
R
A/D Trigger/
Channel Select
Register
(ADC10_TRG)
0x301302
(16 bits)
D15–14 –
reserved
–
–
–
0 when being read.
D13–11 ADCE[2:0] End channel select
0x0 to 0x5
0x0 R/W
D10–8 ADCS[2:0] Start channel select
0x0 to 0x5
0x0 R/W
D7
STMD
Conversion result storing mode
1 ADD[15:6]
0 ADD[9:0]
0
R/W
D6
ADMS
Conversion mode select
1 Continuous 0 Single
0
R/W
D5–4 ADTS[1:0] Conversion trigger select
ADTS[1:0]
Trigger
0x0 R/W
0x3
0x2
0x1
0x0
#ADTRIG pin
reserved
T8 Ch.2
Software
D3
–
reserved
–
–
–
0 when being read.
D2–0 ADST[2:0] Sampling time setting
ADST[2:0]
Sampling time 0x7 R/W Always set to 0x7.
0x7
0x6
0x5
0x4
0x3
0x2
0x1
0x0
9•ADCCLK
8•ADCCLK
7•ADCCLK
6•ADCCLK
5•ADCCLK
4•ADCCLK
3•ADCCLK
2•ADCCLK