I/O Memory Of Serial Interface - Epson S1C33210 Technical Manual

Cmos 32-bit single chip microcomputer
Table of Contents

Advertisement

III PERIPHERAL BLOCK: SERIAL INTERFACE

I/O Memory of Serial Interface

Table 8.14 shows the control bits of the serial interface.
For details on the I/O memory of the prescaler that is used to set clocks, as well of that of 8-bit programmable timers,
refer to "Prescaler" and "8-Bit Programmable Timers", respectively.
Register name
Address
Bit
Serial I/F Ch.0
00401E0
D7
transmit data
(B)
D6
register
D5
D4
D3
D2
D1
D0
Serial I/F Ch.0
00401E1
D7
receive data
(B)
D6
register
D5
D4
D3
D2
D1
D0
Serial I/F Ch.0
00401E2
D7–6
status register
(B)
D5
D4
D3
D2
D1
D0
Serial I/F Ch.0
00401E3
D7
control register
(B)
D6
D5
D4
D3
D2
D1
D0
Serial I/F Ch.0
00401E4
D7–5
IrDA register
(B)
D4
D3
D2
D1
D0
Serial I/F Ch.1
00401E5
D7
transmit data
(B)
D6
register
D5
D4
D3
D2
D1
D0
Serial I/F Ch.1
00401E6
D7
receive data
(B)
D6
register
D5
D4
D3
D2
D1
D0
B-III-8-28
Table 8.14 Control Bits of Serial Interface
Name
Function
TXD07
Serial I/F Ch.0 transmit data
TXD06
TXD07(06) = MSB
TXD05
TXD00 = LSB
TXD04
TXD03
TXD02
TXD01
TXD00
RXD07
Serial I/F Ch.0 receive data
RXD06
RXD07(06) = MSB
RXD05
RXD00 = LSB
RXD04
RXD03
RXD02
RXD01
RXD00
TEND0
Ch.0 transmit-completion flag
FER0
Ch.0 flaming error flag
PER0
Ch.0 parity error flag
OER0
Ch.0 overrun error flag
TDBE0
Ch.0 transmit data buffer empty
RDBF0
Ch.0 receive data buffer full
TXEN0
Ch.0 transmit enable
RXEN0
Ch.0 receive enable
EPR0
Ch.0 parity enable
PMD0
Ch.0 parity mode selection
STPB0
Ch.0 stop bit selection
SSCK0
Ch.0 input clock selection
SMD01
Ch.0 transfer mode selection
SMD00
DIVMD0
Ch.0 async. clock division ratio
IRTL0
Ch.0 IrDA I/F output logic inversion
IRRL0
Ch.0 IrDA I/F input logic inversion
IRMD01
Ch.0 interface mode selection
IRMD00
TXD17
Serial I/F Ch.1 transmit data
TXD16
TXD17(16) = MSB
TXD15
TXD10 = LSB
TXD14
TXD13
TXD12
TXD11
TXD10
RXD17
Serial I/F Ch.1 receive data
RXD16
RXD17(16) = MSB
RXD15
RXD10 = LSB
RXD14
RXD13
RXD12
RXD11
RXD10
Setting
0x0 to 0xFF(0x7F)
0x0 to 0xFF(0x7F)
1 Transmitting 0 End
1 Error
0 Normal
1 Error
0 Normal
1 Error
0 Normal
1 Empty
0 Buffer full
1 Buffer full
0 Empty
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 #SCLK0
0 Internal clock
SMD0[1:0]
Transfer mode
1
1
8-bit asynchronous
1
0
7-bit asynchronous
0
1
Clock sync. Slave
0
0
Clock sync. Master
1 1/8
0 1/16
1 Inverted
0 Direct
1 Inverted
0 Direct
IRMD0[1:0]
I/F mode
1
1
reserved
1
0
IrDA 1.0
0
1
reserved
0
0
General I/F
0x0 to 0xFF(0x7F)
0x0 to 0xFF(0x7F)
EPSON
Init. R/W
Remarks
X
R/W 7-bit asynchronous
X
mode does not use
X
TXD07.
X
X
X
X
X
X
R
7-bit asynchronous
X
mode does not use
X
RXD07 (fixed at 0).
X
X
X
X
X
0 when being read.
0
R
0
R/W
Reset by writing 0.
0
R/W
Reset by writing 0.
0
R/W
Reset by writing 0.
1
R
0
R
0
R/W
0
R/W
X
R/W
Valid only in
X
R/W
asynchronous mode.
X
R/W
X
R/W
X
R/W
X
0 when being read.
X
R/W
X
R/W
Valid only in
X
R/W
asynchronous mode.
X
R/W
X
X
R/W 7-bit asynchronous
X
mode does not use
X
TXD17.
X
X
X
X
X
X
R
7-bit asynchronous
X
mode does not use
X
RXD17 (fixed at 0).
X
X
X
X
X
S1C33210 FUNCTION PART

Advertisement

Table of Contents
loading

Table of Contents