19 UNIVERSAL SERIAL INTERFACE WITH LCD INTERFACE (USIL)
19-32
Seiko Epson Corporation
S1C33L26 TECHNICAL MANUAL
Control Register Details
19.8
8.1 List of USIL Registers
Table 19.
Address
Register name
Function
0x300600 USIL_GCFG
USIL Global Configuration Register
Set interface and MSB/LSB modes
0x300601 USIL_TD
USIL Transmit Data Buffer Register
Transmit data buffer
0x300602 USIL_RD
USIL Receive Data Buffer Register
Receive data buffer
0x300640 USIL_UCFG
USIL UART Mode Configuration Register
Set UART transfer conditions
0x300641 USIL_UIE
USIL UART Mode Interrupt Enable Register
Enable/disable UART interrupts
0x300642 USIL_UIF
USIL UART Mode Interrupt Flag Register
Indicate UART interrupt cause status
0x300650 USIL_SCFG
USIL SPI Master/Slave Mode Configuration Register
Set SPI transfer conditions
0x300651 USIL_SIE
USIL SPI Master/Slave Mode Interrupt Enable Register
Enable/disable SPI interrupts
0x300652 USIL_SIF
USIL SPI Master/Slave Mode Interrupt Flag Register
Indicate SPI interrupt cause status
0x300660 USIL_IMTG
USIL I
2
C Master Mode Trigger Register
Start I
2
C master operations
0x300661 USIL_IMIE
USIL I
2
C Master Mode Interrupt Enable Register
Enable/disable I
2
C master interrupts
0x300662 USIL_IMIF
USIL I
2
C Master Mode Interrupt Flag Register
Indicate I
2
C master interrupt cause status
0x300670 USIL_ISTG
USIL I
2
C Slave Mode Trigger Register
Start I
2
C slave operations
0x300671 USIL_ISIE
USIL I
2
C Slave Mode Interrupt Enable Register
Enable/disable I
2
C slave interrupts
0x300672 USIL_ISIF
USIL I
2
C Slave Mode Interrupt Flag Register
Indicate I
2
C slave interrupt cause status
0x300680 USIL_LSCFG
USIL LCD SPI Mode Configuration Register
Set LCD SPI transfer conditions
0x300681 USIL_LSIE
USIL LCD SPI Mode Interrupt Enable Register
Enable/disable LCD SPI interrupts
0x300682 USIL_LSIF
USIL LCD SPI Mode Interrupt Flag Register
Indicate LCD SPI interrupt cause status
0x30068f USIL_LSDCFG USIL LCD SPI Mode Data Configuration Register
Select display data format
0x300690 USIL_LPCFG
USIL LCD Parallel I/F Mode Configuration Register
Set LCD parallel interface conditions
0x300691 USIL_LPIE
USIL LCD Parallel I/F Mode Interrupt Enable Register
Enable/disable LCD parallel interface interrupts
0x300692 USIL_LPIF
USIL LCD Parallel I/F Mode Interrupt Flag Register
Indicate LCD parallel interface interrupt cause status
0x30069f USIL_LPAC
USIL LCD Parallel I/F Mode Access Timing Register
Set LCD parallel interface access timing parameters
The USIL registers are described in detail below. These are 8-bit registers.
Note: When data is written to the registers, the “Reserved” bits must always be written as 0 and not 1.
USIL Global Configuration Register (USIL_GCFG)
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
Note: This register must be configured before setting other USIL registers.
D[7:4]
Reserved
D3
LSBFST: MSB/LSB First Mode Select Bit
Selects whether serial data will be transferred from the MSB or LSB.
1 (R/W): MSB first
0 (R/W): LSB first (default)
This setting affects all interface modes.
D[2:0]
USILMOD[2:0]: Interface Mode Configuration Bits
Selects an interface mode.