APPENDIX A LIST OF I/O REGISTERS
S1C33L26 TECHNICAL MANUAL
Seiko Epson Corporation
AP-A-31
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
FSIO Ch.0
Interrupt Flag
Register
(FSIO_INTF0)
0x30070a
(8 bits)
D7–2 –
reserved
–
–
–
0 when being read.
D1
TDBE_IF
Transmit data buffer empty int. flag 1 Cause of
interrupt
occurred
0 Cause of
interrupt not
occurred
0
R/W Reset by writing 0.
D0
RDBF_IF
Receive data buffer full int. flag
0
R/W
FSIO Ch.0
Interrupt
Enable Register
(FSIO_INTE0)
0x30070b
(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
FSIO Ch.0 STD/
ADV Mode
Select Register
(FSIO_ADV0)
0x30070f
(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
0x300710–0x30071f
FSIO Ch.1
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
FSIO Ch.1
Transmit Data
Register
(FSIO_TXD1)
0x300710
(8 bits)
D7–0 TXD[7:0]
Transmit data
TXD7(6) = MSB
TXD0 = LSB
0x0 to 0xff (0x7f)
X
R/W 7-bit asynchronous
mode does not use
TXD7.
FSIO Ch.1
Receive Data
Register
(FSIO_RXD1)
0x300711
(8 bits)
D7–0 RXD[7:0]
Receive data
RXD7(6) = MSB
RXD0 = LSB
0x0 to 0xff (0x7f)
X
R 7-bit asynchronous
mode does not use
RXD7 (fixed at 0).
FSIO Ch.1
Status Register
(FSIO_
STATUS1)
0x300712
(8 bits)
D7–6 RXDNUM
[1:0]
Receive FIFO data count
RXDNUM[1:0] Number of data 0x0
R
0x3
0x2
0x1
0x0
4
3
2
1 or 0
D5
TEND
Transmit status flag
1 Busy
0 End/Idle
0
R
D4
FER
Framing error flag
1 Error
0 Normal
0
R/W Reset by writing 0.
D3
PER
Parity error flag
1 Error
0 Normal
0
R/W
D2
OER
Overrun error flag
1 Error
0 Normal
0
R/W
D1
TDBE
Transmit data buffer empty flag
1 Empty
0 Full
1
R
D0
RDBF
Receive data buffer status flag
1 Contained
0 Not contained
0
R
FSIO Ch.1
Control Register
(FSIO_CTL1)
0x300713
(8 bits)
D7
TXEN
Transmit enable
1 Enable
0 Disable
0
R/W
D6
RXEN
Receive enable
1 Enable
0 Disable
0
R/W
D5
EPR
Parity enable
1 With parity
0 No parity
0
R/W Valid only in
asynchronous
mode.
D4
PMD
Parity mode select
1 Odd
0 Even
0
R/W
D3
STPB
Stop bit select
1 2 bits
0 1 bit
0
R/W
D2
SSCK
Input clock select
1 SCLK
0 Internal
0
R/W
D1–0 SMD[1:0]
Transfer mode select
SMD[1:0]
Transfer mode 0x0 R/W
0x3
0x2
0x1
0x0
8-bit async
7-bit async
Clk sync slave
Clk sync master
FSIO Ch.1
IrDA Register
(FSIO_IRDA1)
0x300714
(8 bits)
D7
SRDYCTL
#SRDY control
1 High mask
0 Normal
0
R/W Writing is disabled
when SIOADV = 0.
D6–5 FIFOINT
[1:0]
Receive buffer full interrupt
timing
FIFOINT[1:0]
Receive level
0x0 R/W
0x3
0x2
0x1
0x0
4
3
2
1
D4
DIVMD
Async clock division ratio
1 1/8
0 1/16
0
R/W
D3
IRTL
IrDA I/F output logic inversion
1 Inverted
0 Direct
0
R/W Valid only in async
mode.
D2
IRRL
IrDA I/F input logic inversion
1 Inverted
0 Direct
0
R/W
D1–0 IRMD[1:0]
Interface mode select
IRMD[1:0]
I/F mode
0x0 R/W
0x3
0x2
0x1
0x0
reserved
IrDA 1.0
reserved
General I/F
FSIO Ch.1
Baud-rate Timer
Control Register
(FSIO_
BRTRUN1)
0x300715
(8 bits)
D7–1 –
reserved
–
–
–
0 when being read.
D0
BRTRUN
Baud-rate timer run/stop control
1 Run
0 Stop
0
R/W
FSIO Ch.1
Baud-rate Timer
Reload Data L
Register
(FSIO_
BRTRDL1)
0x300716
(8 bits)
D7–0 BRTRD[7:0] Baud-rate timer reload data [7:0]
0x0 to 0xff
(BRTRD[11:0] = 0x0 to 0xfff)
0x0 R/W