
S1C8F626 TECHNICAL MANUAL
EPSON
69
5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Serial Interface)
5.7.10 Control of serial interface
Table 5.7.10.1 show the serial interface control bits.
Table 5.7.10.1(a) Serial interface control bits
SR R/W
Address Bit
Name
Function
Comment
10
00FF48 D7
D6
D5
D4
D3
D2
D1
D0
–
EPR0
PMD0
SCS01
SCS00
SMD01
SMD00
ESIF0
––
0
R/W
–
SCS01
1
0
SCS00
1
0
1
0
Clock source
Programmable timer 1
fOSC3 / 4
fOSC3 / 8
fOSC3 / 16
SMD01
1
0
SMD00
1
0
1
0
Mode
Asynchronous 8-bit
Asynchronous 7-bit
Clock synchronous slave
Clock synchronous master
Serial I/F 0 parity enable register
Serial I/F 0 parity mode selection
Serial I/F 0 clock source selection
Serial I/F 0 mode selection
Serial I/F 0 enable register
With parity
Odd
Serial I/F
Non parity
Even
I/O port
"0" when being read
Only for
asynchronous mode
In the clock synchro-
nous slave mode,
external clock is
selected.
00FF49 D7
D6
D5
D4
D3
D2
D1
D0
–
FER0
PER0
OER0
RXTRG0
RXEN0
TXTRG0
TXEN0
–
"0" when being read
Only for
asynchronous mode
–
0
R/W
–
R
W
R
W
R
W
R
W
R
W
Serial I/F 0 framing error flag
Serial I/F 0 parity error flag
Serial I/F 0 overrun error flag
Serial I/F 0 receive trigger/status
Serial I/F 0 receive enable
Serial I/F 0 transmit trigger/status
Serial I/F 0 transmit enable
Error
Reset (0)
Error
Reset (0)
Error
Reset (0)
Run
Trigger
Enable
Run
Trigger
Enable
No error
No operation
No error
No operation
No error
No operation
Stop
No operation
Disable
Stop
No operation
Disable
00FF4A D7
D6
D5
D4
D3
D2
D1
D0
TRXD07
TRXD06
TRXD05
TRXD04
TRXD03
TRXD02
TRXD01
TRXD00
Reading:
Receive data
Writing:
Transmit data
X
R/W
High
Low
Serial I/F 0 transmit/Receive data D7 (MSB)
Serial I/F 0 transmit/Receive data D6
Serial I/F 0 transmit/Receive data D5
Serial I/F 0 transmit/Receive data D4
Serial I/F 0 transmit/Receive data D3
Serial I/F 0 transmit/Receive data D2
Serial I/F 0 transmit/Receive data D1
Serial I/F 0 transmit/Receive data D0 (LSB)
00FF4B D7
D6
D5
D4
D3
D2
D1
D0
IRTL0
IRIL0
–
IRST0
–
STPB0
SDP0
"0" when being read
Constantly "0" when
being read
0
–
0
–
0
R/W
Serial I/F 0 IrDA I/F output logic inverse
Serial I/F 0 IrDA I/F input logic inverse
–
Serial I/F 0 IrDA interface enable
–
Serial I/F 0 stop bit selection
Serial I/F 0 data input/output permutation selection
Inverse
–
IrDA
–
2 bits
MSB first
Direct
–
Normal
–
1 bit
LSB first