APPENDIX A LIST OF I/O REGISTERS
AP-A-28
Seiko Epson Corporation
S1C33L26 TECHNICAL MANUAL
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
USIL SPI
Master/Slave
Mode Configu-
ration Register
(USIL_SCFG)
0x300650
(8 bits)
D7–4 –
reserved
–
–
–
0 when being read.
D3
SCPHA
Clock phase select
1 Phase 1
0 Phase 0
0
R/W
D2
SCPOL
Clock polarity select
1 Active L
0 Active H
0
R/W
D1
–
reserved
–
–
–
Do not set to 1.
D0
SFSTMOD Fast mode select
1 Fast
0 Normal
0
R/W
USIL SPI
Master/Slave
Mode Interrupt
Enable Register
(USIL_SIE)
0x300651
(8 bits)
D7–3 –
reserved
–
–
–
0 when being read.
D2
SEIE
Receive error interrupt enable
1 Enable
0 Disable
0
R/W
D1
SRDIE
Receive buffer full interrupt enable 1 Enable
0 Disable
0
R/W
D0
STDIE
Transmit buffer empty int. enable
1 Enable
0 Disable
0
R/W
USIL SPI
Master/Slave
Mode Interrupt
Flag Register
(USIL_SIF)
0x300652
(8 bits)
D7–4 –
reserved
–
–
–
0 when being read.
D3
SSIF
Transfer busy flag (master)
1 Busy
0 Idle
0
R
ss signal low flag (slave)
1 ss = H
0 ss = L
D2
SEIF
Overrun error flag
1 Error
0 Normal
0
R/W Reset by writing 1.
D1
SRDIF
Receive buffer full flag
1 Full
0 Not full
0
R/W
D0
STDIF
Transmit buffer empty flag
1 Empty
0 Not empty
0
R/W
USIL I
2
C Master
Mode Trigger
Register
(USIL_IMTG)
0x300660
(8 bits)
D7–5 –
reserved
–
–
–
0 when being read.
D4
IMTG
I
2
C master operation trigger
1 Trigger
0 Ignored
0
W
1 Waiting
0 Finished
R
D3
–
reserved
–
–
–
0 when being read.
D2–0 IMTGMOD
[2:0]
I
2
C master trigger mode select
IMTGMOD[2:0] Trigger mode
0x0 R/W
0x7
0x6
0x5
0x4
0x3
0x2
0x1
0x0
reserved
Receive ACK/NAK
Transmit NAK
Transmit ACK
Receive data
Transmit data
Stop condition
Start condition
USIL I
2
C Master
Mode Interrupt
Enable Register
(USIL_IMIE)
0x300661
(8 bits)
D7–2 –
reserved
–
–
–
0 when being read.
D1
IMEIE
Receive error interrupt enable
1 Enable
0 Disable
0
R/W
D0
IMIE
Operation completion int. enable
1 Enable
0 Disable
0
R/W
USIL I
2
C Master
Mode Interrupt
Flag Register
(USIL_IMIF)
0x300662
(8 bits)
D7–6 –
reserved
–
–
–
0 when being read.
D5
IMBSY
I
2
C master busy flag
1 Busy
0 Standby
0
R
D4–2 IMSTA[2:0] I
2
C master status
IMSTA[2:0]
Status
0x0
R
0x7
0x6
0x5
0x4
0x3
0x2
0x1
0x0
reserved
NAK received
ACK received
ACK/NAK sent
End of Rx data
End of Tx data
Stop generated
Start generated
D1
IMEIF
Overrun error flag
1 Error
0 Normal
0
R/W Reset by writing 1.
D0
IMIF
Operation completion flag
1 Completed 0 Not completed
0
R/W
USIL I
2
C Slave
Mode Trigger
Register
(USIL_ISTG)
0x300670
(8 bits)
D7–5 –
reserved
–
–
–
0 when being read.
D4
ISTG
I
2
C slave operation trigger
1 Trigger
0 Ignored
0
W
1 Waiting
0 Finished
R
D3
–
reserved
–
–
–
0 when being read.
D2–0 ISTGMOD
[2:0]
I
2
C slave trigger mode select
ISTGMOD[2:0] Trigger mode
0x0 R/W
0x7
0x6
0x5
0x4
0x3
0x2
0x1
0x0
reserved
Receive ACK/NAK
Transmit NAK
Transmit ACK
Receive data/
Detect stop
Transmit data
reserved
Wait for start
USIL I
2
C Slave
Mode Interrupt
Enable Register
(USIL_ISIE)
0x300671
(8 bits)
D7–2 –
reserved
–
–
–
0 when being read.
D1
ISEIE
Receive error interrupt enable
1 Enable
0 Disable
0
R/W
D0
ISIE
Operation completion int. enable
1 Enable
0 Disable
0
R/W