19 UNIVERSAL SERIAL INTERFACE WITH LCD INTERFACE (USIL)
S1C33L26 TECHNICAL MANUAL
Seiko Epson Corporation
19-45
LSCMDEN = 0
LSCMDEN = 1
D7 D6 D5 D4 D3 D2 D1 D0
D7 D6 D5 D4 D3 D2 D1 D0
CMD
TD[7:0]
8.3 Data Configuration (8-bit data mode)
Figure 19.
When LSCMDEN is set to 0, the command bit selected using LSCMD is output from the USIL_DI (lcds_
a0) pin.
USIL LCD SPI Mode Interrupt Enable Register (USIL_LSIE)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
USIL LCD SPI
Mode
Interrupt Enable
Register
(USIL_LSIE)
0x300681
(8 bits)
D7–1 –
reserved
–
–
–
0 when being read.
D0
LSTDIE
Transmit buffer empty int. enable
1 Enable
0 Disable
0
R/W
Note: This register is effective only in LCD SPI mode. Configure USIL to LCD SPI mode before setting
this register.
D[7:1]
Reserved
D0
LSTDIE: Transmit Buffer Empty Interrupt Enable Bit
Enables interrupt requests to the ITC when data written to the transmit data buffer is sent to the shift
register (i.e. when data transmission begins).
1 (R/W): Enabled
0 (R/W): Disabled (default)
Set this bit to 1 to write data to the transmit data buffer using interrupts.
USIL LCD SPI Mode Interrupt Flag Register (USIL_LSIF)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
USIL LCD SPI
Mode Interrupt
Flag Register
(USIL_LSIF)
0x300682
(8 bits)
D7–2 –
reserved
–
–
–
X when being read.
D1
LSBSY
Transfer busy flag
1 Busy
0 Idle
0
R
D0
LSTDIF
Transmit buffer empty flag
1 Empty
0 Not empty
0
R/W Reset by writing 1.
Note: This register is effective only in LCD SPI mode. Configure USIL to LCD SPI mode before setting
this register.
D[7:2]
Reserved
D1
LSBSY: Transfer Busy Flag Bit
Indicates the LCD SPI transfer status.
1 (R):
Busy
0 (R):
Idle (default)
LSBSY is set to 1 when the LCD SPI starts data transfer and is maintained at 1 while transfer is un-
derway. It is cleared to 0 after data transfer for the data size set using LSDMOD[1:0]/USIL_LSDCFG
register has completed.
D0
LSTDIF: Transmit Buffer Empty Flag Bit
Indicates the transmit data buffer status.
1 (R):
Empty
0 (R):
Data exists (default)
1 (W):
Reset to 0
0 (W):
Ignored
LSTDIF is set to 1 when the transmit data written to the transmit data buffer is transferred to the shift
register (when transmission starts), indicating that the next transmit data can be written to. At the same
time a transmit buffer empty interrupt request is sent to the ITC if LSTDIE/USIL_LSIE register is 1.
LSTDIF is reset by writing 1.