APPENDIX A LIST OF I/O REGISTERS
S1C33L26 TECHNICAL MANUAL
Seiko Epson Corporation
AP-A-27
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
USI I
2
C Slave
Mode Trigger
Register
(USI_ISTG)
0x300470
(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
USI I
2
C Slave
Mode Interrupt
Enable Register
(USI_ISIE)
0x300471
(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
USI I
2
C Slave
Mode Interrupt
Flag Register
(USI_ISIF)
0x300472
(8 bits)
D7–6 –
reserved
–
–
–
0 when being read.
D5
ISBSY
I
2
C slave busy flag
1 Busy
0 Standby
0
R
D4–2 ISSTA[2:0] I
2
C slave status
ISSTA[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 detected
Start detected
D1
ISEIF
Overrun error flag
1 Error
0 Normal
0
R/W Reset by writing 1.
D0
ISIF
Operation completion flag
1 Completed 0 Not completed
0
R/W
0x300600–0x30069f
USIL
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
USIL Global
Configuration
Register
(USIL_GCFG)
0x300600
(8 bits)
D7–4 –
reserved
–
–
–
0 when being read.
D3
LSBFST
MSB/LSB first mode select
1 MSB first
0 LSB first
0
R/W
D2–0 USILMOD
[2:0]
Interface mode configuration
USILMOD[2:0]
I/F mode
0x0 R/W
0x7
0x6
0x5
0x4
0x3
0x2
0x1
0x0
LCD Parallel
LCD SPI
I
2
C slave
I
2
C master
SPI slave
SPI master
UART
Software reset
USIL
Transmit Data
Buffer Register
(USIL_TD)
0x300601
(8 bits)
D7–0 TD[7:0]
USIL transmit data buffer
TD7 = MSB
TD0 = LSB
0x0 to 0xff
0x0 R/W
USIL Receive
Data Buffer
Register
(USIL_RD)
0x300602
(8 bits)
D7–0 RD[7:0]
USIL receive data buffer
RD7 = MSB
RD0 = LSB
0x0 to 0xff
0x0
R
USIL
UART Mode
Configuration
Register
(USIL_UCFG)
0x300640
(8 bits)
D7–4 –
reserved
–
–
–
0 when being read.
D3
UCHLN
Character length select
1 8 bits
0 7 bits
0
R/W
D2
USTPB
Stop bit select
1 2 bits
0 1 bit
0
R/W
D1
UPMD
Parity mode select
1 Even
0 Odd
0
R/W
D0
UPREN
Parity enable
1 With parity
0 No parity
0
R/W
USIL UART
Mode Interrupt
Enable Register
(USIL_UIE)
0x300641
(8 bits)
D7–3 –
reserved
–
–
–
0 when being read.
D2
UEIE
Receive error interrupt enable
1 Enable
0 Disable
0
R/W
D1
URDIE
Receive buffer full interrupt enable 1 Enable
0 Disable
0
R/W
D0
UTDIE
Transmit buffer empty int. enable
1 Enable
0 Disable
0
R/W
USIL UART
Mode Interrupt
Flag Register
(USIL_UIF)
0x300642
(8 bits)
D7
–
reserved
–
–
–
0 when being read.
D6
URBSY
Receive busy flag
1 Busy
0 Idle
0
R
D5
UTBSY
Transmit busy flag
1 Busy
0 Idle
0
R
D4
UPEIF
Parity error flag
1 Error
0 Normal
0
R/W Reset by writing 1.
D3
USEIF
Framing error flag
1 Error
0 Normal
0
R/W
D2
UOEIF
Overrun error flag
1 Error
0 Normal
0
R/W
D1
URDIF
Receive buffer full flag
1 Full
0 Not full
0
R/W
D0
UTDIF
Transmit buffer empty flag
1 Empty
0 Not empty
0
R/W