20 GENERAL-PURPOSE SERIAL INTERFACE (FSIO)
20-30
Seiko Epson Corporation
S1C33L26 TECHNICAL MANUAL
FSIO Ch.
x
Interrupt Enable Registers (FSIO_INTE
x
)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
FSIO Ch.
x
Interrupt
Enable Register
(FSIO_INTE
x
)
0x30070b
0x30071b
(8 bits)
D7–3 –
reserved
–
–
–
0 when being read.
D2
RERR_IE
Receive error interrupt enable
1 Enable
0 Disable
0
R/W
D1
TDBE_IE
Transmit data buffer empty
interrupt enable
1 Enable
0 Disable
0
R/W
D0
RDBF_IE
Receive data buffer full int. enable 1 Enable
0 Disable
0
R/W
D[7:3]
Reserved
D2
RERR_IE: 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
TDBE_IE: Transmit Data 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.
D0
RDBF_IE: Receive Data 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.
FSIO Ch.
x
STD/ADV Mode Select Registers (FSIO_ADV
x
)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
FSIO Ch.
x
STD/
ADV Mode
Select Register
(FSIO_ADV
x
)
0x30070f
0x30071f
(8 bits)
D7–1 –
reserved
–
–
–
Writing 1 not al-
lowed.
D0
SIOADV
Standard/advanced mode select
1 Advanced
mode
0 Standard
mode
0
R/W
D[7:1]
Reserved
D0
SIOADV: Standard/Advanced Mode Select Bit
Selects standard or advanced mode.
1 (R/W): Advanced mode
0 (R/W): Standard mode (default)
The serial interface in the S1C33L26 is extended from that of the C33 STD models. The S1C33L26 se-
rial interface has two operating modes, standard (STD) mode of which functions are compatible with
the existing C33 STD models and an advanced (ADV) mode allowing use of the extended functions.
Table 20.10.6 shows differences between standard mode and advanced mode.
10.6 Differences between Standard Mode and Advanced Mode
Table 20.
Function
Standard mode
Advanced mode
#SRDY mask control
Disabled
Enabled
Number of received data in the buffer to
generate a receive-buffer full interrupt
One
One to four can be specified.
To configure the serial interface in advanced mode, set SIOADV to 1. The control bits (SRDYCTL and
FIFOINT[1:0]) for the extended functions are enabled to write after this setting.