Epson S1C88650 Technical Manual page 84

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

Advertisement

5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Serial Interface)
Address Bit
Name
00FF20 D7
PK01
D6
PK00
D5
PSIF1
D4
PSIF0
D3
D2
D1
PTM1
D0
PTM0
00FF23
D7
D6
D5
D4
D3
D2
ESERR
D1
ESREC
D0
ESTRA
00FF27 D7
D6
D5
D4
D3
D2
FSERR
D1
FSREC
D0
FSTRA
ESIF: 00FF48H•D0
Sets the serial interface terminals (P10–P13).
When "1" is written: Serial input/output terminal
When "0" is written: I/O port terminal
Reading:
The ESIF is the serial interface enable register and
P10–P13 terminals become serial input/output
_________ _________
terminals (SIN, SOUT, SCLK, SRDY) when "1" is
written, and they become I/O port terminals when
"0" is written.
Also, see Table 5.8.3.2 for the terminal settings
according to the transfer modes.
At initial reset, ESIF is set to "0" (I/O port).
76
Table 5.8.9.1(b) Serial interface control bits
Function
K00–K07 interrupt priority register
Serial interface interrupt priority register
Clock timer interrupt priority register
Serial I/F (error) interrupt enable register
Serial I/F (receiving) interrupt enable register
Serial I/F (transmitting) interrupt enable register
Serial I/F (error) interrupt factor flag
Serial I/F (receiving) interrupt factor flag
Serial I/F (transmitting) interrupt factor flag
Valid
1
PK01
PK00
PSIF1
PSIF0
1
1
Level 3
1
0
Level 2
0
1
Level 1
0
0
Level 0
PTM1
PTM0
Priority level
1
1
Level 3
1
0
Level 2
0
1
Level 1
0
0
Level 0
Interrupt
Interrupt
enable
disable
(R)
Generated
No generated
(W)
Reset
No operation
SMD0, SMD1: 00FF48H•D1, D2
Set the transfer modes according to Table 5.8.9.2.
Table 5.8.9.2 Transfer mode settings
SMD1
SMD0
1
1
1
0
0
1
0
0
SMD0 and SMD1 can also read out.
At initial reset, this register is set to "0" (clock
synchronous master mode).
EPSON
0
SR R/W
Comment
Priority
0
R/W
level
0
R/W
Constantly "0" when
being read
0
R/W
Constantly "0" when
being read
0
R/W
Constantly "0" when
being read
(R)
0
R/W
(W)
Mode
Asynchronous 8-bit
Asynchronous 7-bit
Clock synchronous slave
Clock synchronous master
S1C88650 TECHNICAL MANUAL

Advertisement

Table of Contents
loading

Table of Contents