III PERIPHERAL BLOCK: SERIAL INTERFACE
S1C33L03 FUNCTION PART EPSON B-III-8-29
A-1
B-III
SIF
NameAddressRegister name Bit Function Setting Init. R/W Remarks
–
TEND1
FER1
PER1
OER1
TDBE1
RDBF1
D7–6
D5
D4
D3
D2
D1
D0
–
Ch.1 transmit-completion flag
Ch.1 flaming error flag
Ch.1 parity error flag
Ch.1 overrun error flag
Ch.1 transmit data buffer empty
Ch.1 receive data buffer full
–
0
0
0
0
1
0
–
R
R/W
R/W
R/W
R
R
0 when being read.
Reset by writing 0.
Reset by writing 0.
Reset by writing 0.
00401E7
(B)
–
1 Error 0 Normal
1
Transmitting
0 End
1 Error 0 Normal
1 Error 0 Normal
1 Empty 0 Buffer full
1 Buffer full 0 Empty
Serial I/F Ch.1
status register
TXEN1
RXEN1
EPR1
PMD1
STPB1
SSCK1
SMD11
SMD10
D7
D6
D5
D4
D3
D2
D1
D0
Ch.1 transmit enable
Ch.1 receive enable
Ch.1 parity enable
Ch.1 parity mode selection
Ch.1 stop bit selection
Ch.1 input clock selection
Ch.1 transfer mode selection
1
1
0
0
1
0
1
0
SMD1[1:0] Transfer mode
8-bit asynchronous
7-bit asynchronous
Clock sync. Slave
Clock sync. Master
0
0
X
X
X
X
X
X
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Valid only in
asynchronous mode.
00401E8
(B)
Serial I/F Ch.1
control register
1 Enabled 0 Disabled
1 Enabled 0 Disabled
1 With parity 0 No parity
1 Odd 0 Even
1 2 bits 0 1 bit
1 #SCLK1 0
Internal clock
–
DIVMD1
IRTL1
IRRL1
IRMD11
IRMD10
D7–5
D4
D3
D2
D1
D0
–
Ch.1 async. clock division ratio
Ch.1 IrDA I/F output logic inversion
Ch.1 IrDA I/F input logic inversion
Ch.1 interface mode selection
1
1
0
0
1
0
1
0
IRMD1[1:0]
–
I/F mode
reserved
IrDA 1.0
reserved
General I/F
–
X
X
X
X
X
–
R/W
R/W
R/W
R/W
0 when being read.
Valid only in
asynchronous mode.
00401E9
(B)
1 1/8 0 1/16
1 Inverted 0 Direct
1 Inverted 0 Direct
Serial I/F Ch.1
IrDA register
0x0 to 0xFF(0x7F)TXD27
TXD26
TXD25
TXD24
TXD23
TXD22
TXD21
TXD20
D7
D6
D5
D4
D3
D2
D1
D0
Serial I/F Ch.2 transmit data
TXD27(26) = MSB
TXD20 = LSB
X
X
X
X
X
X
X
X
R/W00401F0
(B)
Serial I/F Ch.2
transmit data
register
0x0 to 0xFF(0x7F)RXD27
RXD26
RXD25
RXD24
RXD23
RXD22
RXD21
RXD20
D7
D6
D5
D4
D3
D2
D1
D0
Serial I/F Ch.2 receive data
RXD27(26) = MSB
RXD20 = LSB
X
X
X
X
X
X
X
X
R00401F1
(B)
Serial I/F Ch.2
receive data
register
–
TEND2
FER2
PER2
OER2
TDBE2
RDBF2
D7–6
D5
D4
D3
D2
D1
D0
reserved
Ch.2 transmit-completion flag
Ch.2 flaming error flag
Ch.2 parity error flag
Ch.2 overrun error flag
Ch.2 transmit data buffer empty
Ch.2 receive data buffer full
–
0
0
0
0
1
0
–
R
R/W
R/W
R/W
R
R
0 when being read.
Reset by writing 0.
Reset by writing 0.
Reset by writing 0.
00401F2
(B)
–
1 Error 0 Normal
1
Transmitting
0 End
1 Error 0 Normal
1 Error 0 Normal
1 Empty 0 Buffer full
1 Buffer full 0 Empty
Serial I/F Ch.2
status register
TXEN2
RXEN2
EPR2
PMD2
STPB2
SSCK2
SMD21
SMD20
D7
D6
D5
D4
D3
D2
D1
D0
Ch.2 transmit enable
Ch.2 receive enable
Ch.2 parity enable
Ch.2 parity mode selection
Ch.2 stop bit selection
Ch.2 input clock selection
Ch.2 transfer mode selection
1
1
0
0
1
0
1
0
SMD2[1:0] Transfer mode
8-bit asynchronous
7-bit asynchronous
Clock sync. Slave
Clock sync. Master
0
0
X
X
X
X
X
X
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Valid only in
asynchronous mode.
00401F3
(B)
Serial I/F Ch.2
control register
1 Enabled 0 Disabled
1 Enabled 0 Disabled
1 With parity 0 No parity
1 Odd 0 Even
1 2 bits 0 1 bit
1 #SCLK2 0
Internal clock
–
DIVMD2
IRTL2
IRRL2
IRMD21
IRMD20
D7–5
D4
D3
D2
D1
D0
reserved
Ch.2 async. clock division ratio
Ch.2 IrDA I/F output logic inversion
Ch.2 IrDA I/F input logic inversion
Ch.2 interface mode selection
1
1
0
0
1
0
1
0
IRMD2[1:0]
–
I/F mode
reserved
IrDA 1.0
reserved
General I/F
–
X
X
X
X
X
–
R/W
R/W
R/W
R/W
0 when being read.
Valid only in
asynchronous mode.
00401F4
(B)
1 1/8 0 1/16
1 Inverted 0 Direct
1 Inverted 0 Direct
Serial I/F Ch.2
IrDA register