62
EPSON
E0C88832/88862 TECHNICAL MANUAL
5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Serial Interface)
5.7.9 Control of serial interface
Table 5.7.9.1 show the serial interface control bits.
Table 5.7.9.1(a) Serial interface control bits
Address Bit
Name
SR R/W
Function
Comment
1
0
00FF48 D7
D6
D5
D4
D3
D2
D1
D0
–
EPR
PMD
SCS1
SCS0
SMD1
SMD0
ESIF
"0" when being read
Only for
asynchronous mode
In the clock synchro-
nous slave mode,
external clock is
selected.
–
0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
–
With parity
Odd
Serial I/F
–
Non parity
Even
I/O port
SCS1
1
1
0
0
SCS0
1
0
1
0
Clock source
Programmable timer
f
OSC3
/ 4
f
OSC3
/ 8
f
OSC3
/ 16
SMD1
1
1
0
0
SMD0
1
0
1
0
Mode
Asynchronous 8-bit
Asynchronous 7-bit
Clock synchronous slave
Clock synchronous master
–
Parity enable register
Parity mode selection
Clock source selection
Serial I/F mode selection
Serial I/F enable register
00FF49 D7
D6
D5
D4
D3
D2
D1
D0
–
FER
PER
OER
RXTRG
RXEN
TXTRG
TXEN
–
Framing error flag
Parity error flag
Overrun error flag
Receive trigger/status
Receive enable
Transmit trigger/status
Transmit enable
"0" when being read
Only for
asynchronous mode
–
0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
–
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
R
W
R
W
R
W
R
W
R
W
00FF4A D7
D6
D5
D4
D3
D2
D1
D0
TRXD7
TRXD6
TRXD5
TRXD4
TRXD3
TRXD2
TRXD1
TRXD0
X
X
X
X
X
X
X
X
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
High
Low
Transmit/Receive data D7 (MSB)
Transmit/Receive data D6
Transmit/Receive data D5
Transmit/Receive data D4
Transmit/Receive data D3
Transmit/Receive data D2
Transmit/Receive data D1
Transmit/Receive data D0 (LSB)
00FF20 D7
D6
D5
D4
D3
D2
D1
D0
PK01
PK00
PSIF1
PSIF0
PSW1
PSW0
PTM1
PTM0
K00–K07 interrupt priority register
Serial interface interrupt priority register
Stopwatch timer interrupt priority register
Clock timer interrupt priority register
0
0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
PK01
PSIF1
PSW1
PTM1
1
1
0
0
PK00
PSIF0
PSW0
PTM0
1
0
1
0
Priority
level
Level 3
Level 2
Level 1
Level 0
Содержание 0C88832
Страница 6: ......