Control Of Serial Interface - Epson S1C88650 Technical Manual

Hewlett-packard cmos 8-bit single chip microcomputer technical manual
Table of Contents

Advertisement

5.8.9 Control of serial interface

Table 5.8.9.1 show the serial interface control bits.
Address Bit
Name
00FF48 D7
D6
EPR
Parity enable register
D5
PMD
Parity mode selection
D4
SCS1
Clock source selection
D3
SCS0
D2
SMD1
Serial I/F mode selection
D1
SMD0
D0
ESIF
Serial I/F enable register
00FF49 D7
D6
FER
Serial I/F framing error flag
D5
PER
Serial I/F parity error flag
D4
OER
Serial I/F overrun error flag
D3
RXTRG
Serial I/F receive trigger/status
D2
RXEN
Serial I/F receive enable
D1
TXTRG
Serial I/F transmit trigger/status
D0
TXEN
Serial I/F transmit enable
00FF4A D7
TRXD7
Serial I/F transmit/Receive data D7 (MSB)
D6
TRXD6
Serial I/F transmit/Receive data D6
D5
TRXD5
Serial I/F transmit/Receive data D5
D4
TRXD4
Serial I/F transmit/Receive data D4
D3
TRXD3
Serial I/F transmit/Receive data D3
D2
TRXD2
Serial I/F transmit/Receive data D2
D1
TRXD1
Serial I/F transmit/Receive data D1
D0
TRXD0
Serial I/F transmit/Receive data D0 (LSB)
00FF4B D7
D6
D5
D4
D3
D2
D1
STPB
Serial I/F stop bit selection
D0
SDP
Serial I/F data input/output permutation selection
S1C88650 TECHNICAL MANUAL
5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Serial Interface)
Table 5.8.9.1(a) Serial interface control bits
Function
SCS1
SCS0
Clock source
1
1
Programmable timer
1
0
f
/ 4
OSC3
0
1
f
/ 8
OSC3
0
0
f
/ 16
OSC3
SMD1
SMD0
Mode
1
1
Asynchronous 8-bit
1
0
Asynchronous 7-bit
0
1
Clock synchronous slave
0
0
Clock synchronous master
1
With parity
Non parity
Odd
Even
Serial I/F
I/O port
R
Error
No error
W
Reset (0)
No operation
R
Error
No error
W
Reset (0)
No operation
R
Error
No error
W
Reset (0)
No operation
R
Run
W
Trigger
No operation
Enable
Disable
R
Run
W
Trigger
No operation
Enable
Disable
High
2 bits
MSB first
LSB first
EPSON
0
SR R/W
Comment
"0" when being read
0
R/W
Only for
0
R/W
asynchronous mode
0
R/W
In the clock synchro-
nous slave mode,
external clock is
0
R/W
selected.
0
R/W
0
R/W
0
R/W
"0" when being read
0
R/W
Only for
asynchronous mode
0
R/W
0
R/W
0
R/W
Stop
0
R/W
0
R/W
Stop
0
R/W
X
R/W
Low
Constantly "0" when
being read
0
R/W
1 bit
0
R/W
75

Advertisement

Table of Contents
loading

Table of Contents