APPENDIX A LIST OF I/O REGISTERS
AP-A-30
Seiko Epson Corporation
S1C33L26 TECHNICAL MANUAL
0x300700–0x30070f
FSIO Ch.0
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
FSIO Ch.0
Transmit Data
Register
(FSIO_TXD0)
0x300700
(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.0
Receive Data
Register
(FSIO_RXD0)
0x300701
(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.0
Status Register
(FSIO_
STATUS0)
0x300702
(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.0
Control Register
(FSIO_CTL0)
0x300703
(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.0
IrDA Register
(FSIO_IRDA0)
0x300704
(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.0
Baud-rate Timer
Control Register
(FSIO_
BRTRUN0)
0x300705
(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.0
Baud-rate Timer
Reload Data L
Register
(FSIO_
BRTRDL0)
0x300706
(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
FSIO Ch.0
Baud-rate Timer
Reload Data H
Register
(FSIO_
BRTRDH0)
0x300707
(8 bits)
D7–4 –
reserved
–
–
–
0 when being read.
D3–0 BRTRD
[11:8]
Baud-rate timer reload data [11:8]
0x0 to 0xf
(BRTRD[11:0] = 0x0 to 0xfff)
0x0 R/W
FSIO Ch.0
Baud-rate Timer
Count Data L
Register
(FSIO_
BRTCDL0)
0x300708
(8 bits)
D7–0 BRTCD[7:0] Baud-rate timer count data [7:0]
0x0 to 0xff
(BRTCD[11:0] = 0x0 to 0xfff)
0x0
R
FSIO Ch.0
Baud-rate Timer
Count Data H
Register
(FSIO_
BRTCDH0)
0x300709
(8 bits)
D7–4 –
reserved
–
–
–
0 when being read.
D3–0 BRTCD
[11:8]
Baud-rate timer count data [11:8]
0x0 to 0xf
(BRTCD[11:0] = 0x0 to 0xfff)
0x0
R