APPENDIX A LIST OF PERIPHERAL CIRCUIT CONTROL REGISTERS
S1C17M20/M21/M22/M23/M24/M25
Seiko Epson Corporation
AP-A-27
TECHNICAL MANUAL (Rev. 1.0)
0x5270–0x527a
Synchronous Serial Interface (SPIA) Ch.1
Address
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
0x5270 SPI1MOD
(SPIA Ch.1 Mode
Register)
15–12 –
0x0
–
R
–
11–8 CHLN[3:0]
0x7
H0
R/W
7–6 –
0x0
–
R
5
PUEN
0
H0
R/W
4
NOCLKDIV
0
H0
R/W
3
LSBFST
0
H0
R/W
2
CPHA
0
H0
R/W
1
CPOL
0
H0
R/W
0
MST
0
H0
R/W
0x5272 SPI1CTL
(SPIA Ch.1 Control
Register)
15–8 –
0x00
–
R
–
7–2 –
0x00
–
R
1
SFTRST
0
H0
R/W
0
MODEN
0
H0
R/W
0x5274 SPI1TXD
(SPIA Ch.1 Transmit
Data Register)
15–0 TXD[15:0]
0x0000
H0
R/W –
0x5276 SPI1RXD
(SPIA Ch.1 Receive
Data Register)
15–0 RXD[15:0]
0x0000
H0
R
–
0x5278 SPI1INTF
(SPIA Ch.1 Interrupt
Flag Register)
15–8 –
0x00
–
R
–
7
BSY
0
H0
R
6–4 –
0x0
–
R
3
OEIF
0
H0/S0
R/W Cleared by writing 1.
2
TENDIF
0
H0/S0
R/W
1
RBFIF
0
H0/S0
R
Cleared by reading the
SPI1RXD register.
0
TBEIF
1
H0/S0
R
Cleared by writing to the
SPI1TXD register.
0x527a SPI1INTE
(SPIA Ch.1 Interrupt
Enable Register)
15–8 –
0x00
–
R
–
7–4 –
0x0
–
R
3
OEIE
0
H0
R/W
2
TENDIE
0
H0
R/W
1
RBFIE
0
H0
R/W
0
TBEIE
0
H0
R/W
0x5300–0x530a
Sound Generator (SNDA)
Address
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
0x5300 SNDCLK
(SNDA Clock Control
Register)
15–9 –
0x00
–
R
–
8
DBRUN
0
H0
R/W
7
–
0
–
R
6–4 CLKDIV[2:0]
0x0
H0
R/W
3–2 –
0x0
–
R
1–0 CLKSRC[1:0]
0x0
H0
R/W
0x5302 SNDSEL
(SNDA Select
Register)
15–12 –
0x0
–
R
–
11–8 STIM[3:0]
0x0
H0
R/W
7–3 –
0x00
–
R
2
SINV
0
H0
R/W
1–0 MOSEL[1:0]
0x0
H0
R/W
0x5304 SNDCTL
(SNDA Control
Register)
15–9 –
0x00
–
R
–
8
SSTP
0
H0
R/W
7–1 –
0x00
–
R
0
MODEN
0
H0
R/W
0x5306 SNDDAT
(SNDA Data
Register)
15 MDTI
0
H0
R/W –
14 MDRS
0
H0
R/W
13–8 SLEN[5:0]
0x00
H0
R/W
7–0 SFRQ[7:0]
0xff
H0
R/W