19 UNIVERSAL SERIAL INTERFACE WITH LCD INTERFACE (USIL)
19-34
Seiko Epson Corporation
S1C33L26 TECHNICAL MANUAL
Note: This register is effective only in UART mode. Configure USIL to UART mode before setting this
register.
D[7:4]
Reserved
D3
UCHLN: Character Length Select Bit
Selects the serial transfer data length.
1 (R/W): 8 bits
0 (R/W): 7 bits (default)
When 7-bit data length is selected, D7 in the transmit data buffer is ignored and D7 in the receive data
buffer is always set to 0.
D2
USTPB: Stop Bit Select Bit
Selects the stop bit length.
1 (R/W): 2 bits
0 (R/W): 1 bit (default)
Writing 1 to USTPB selects 2 stop bits; writing 0 to it selects 1 bit. The start bit is fixed at 1 bit.
D1
UPMD: Parity Mode Select Bit
Selects the parity mode.
1 (R/W): Even parity
0 (R/W): Odd parity (default)
Parity checking and parity bit addition are enabled only when UPREN is set to 1. The UPMD setting is
disabled if UPREN is 0.
D0
UPREN: Parity Enable Bit
Enables the parity function.
1 (R/W): With parity
0 (R/W): No parity (default)
UPREN is used to select whether received data parity checking is performed and whether a parity bit
is added to transmit data. Setting UPREN to 1 parity-checks the received data. A parity bit is automati-
cally added to the transmit data. If UPREN is set to 0, no parity bit is checked or added.
USIL UART Mode Interrupt Enable Register (USIL_UIE)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
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
Note: This register is effective only in UART mode. Configure USIL to UART mode before this register
can be used.
D[7:3]
Reserved
D2
UEIE: Receive Error Interrupt Enable Bit
Enables interrupt requests to the ITC when a receive error occurs.
1 (R/W): Enabled
0 (R/W): Disabled (default)
Set this bit to 1 to process receive errors using interrupts.
D1
URDIE: Receive Buffer Full Interrupt Enable Bit
Enables interrupt requests to the ITC when received data is loaded to the receive data buffer.
1 (R/W): Enabled
0 (R/W): Disabled (default)
Set this bit to 1 to read received data using interrupts.