S1C8F626 TECHNICAL MANUAL
EPSON
71
5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Serial Interface)
Table 5.7.10.1(c) Serial interface control bits
SR R/W
Address Bit
Name
Function
Comment
10
00FF20 D7
D6
D5
D4
D3
D2
D1
D0
PK01
PK00
PSIF01
PSIF00
PSW1
PSW0
PTM1
PTM0
K00–K07 interrupt priority register
Serial interface 0 interrupt priority register
Stopwatch timer interrupt priority register
Clock timer interrupt priority register
0
R/W
PK01
PSIF01
PSW1
PTM1
1
0
PK00
PSIF00
PSW0
PTM0
1
0
1
0
Priority
level
Level 3
Level 2
Level 1
Level 0
00FF21 D7
D6
D5
D4
D3
D2
D1
D0
–
PPT3
PPT2
PPT1
PPT0
PSIF11
PSIF10
Constantly "0" when
being read
–
0
–
PPT3
PPT1
PSIF11
1
0
PPT2
PPT0
PSIF10
1
0
1
0
–
Programmable timer 3–2 interrupt
priority register
Programmable timer 1–0 interrupt
priority register
Serial interface 1 interrupt priority register
Priority
level
Level 3
Level 2
Level 1
Level 0
0
R/W
D7
D6
D5
D4
D3
D2
D1
D0
00FF23
–
ESERR1
ESREC1
ESTRA1
ESERR0
ESREC0
ESTRA0
–
Serial I/F 1 (error) interrupt enable register
Serial I/F 1 (receiving) interrupt enable register
Serial I/F 1 (transmitting) interrupt enable register
Serial I/F 0 (error) interrupt enable register
Serial I/F 0 (receiving) interrupt enable register
Serial I/F 0 (transmitting) interrupt enable register
–
0
–
Interrupt
enable
–
Interrupt
disable
Constantly "0" when
being read
R/W
00FF27 D7
D6
D5
D4
D3
D2
D1
D0
–
FSERR1
FSREC1
FSTRA1
FSERR0
FSREC0
FSTRA0
–
Serial I/F 1 (error) interrupt factor flag
Serial I/F 1 (receiving) interrupt factor flag
Serial I/F 1 (transmitting) interrupt factor flag
Serial I/F 0 (error) interrupt factor flag
Serial I/F 0 (receiving) interrupt factor flag
Serial I/F 0 (transmitting) interrupt factor flag
–
0R/W
–
(R)
Interrupt
factor is
generated
(W)
Reset
–
(R)
No interrupt
factor is
generated
(W)
No operation
Constantly "0" when
being read
ESIF0: 00FF48HD0
ESIF1: 00FF4CHD0
Sets the serial interface terminals (P10–P13, P20–
P23).
When "1" is written: Serial input/output terminal
When "0" is written: I/O port terminal
Reading:
Valid
The ESIFx is the serial interface enable register and
P10–P13/P20–P23 terminals become serial input/
_________ _________
output terminals (SINx, SOUTx, SCLKx, SRDYx)
when "1" is written, and they become I/O port
terminals when "0" is written.
Also, see Table 5.7.3.2 for the terminal settings
according to the transfer modes.
At initial reset, ESIFx is set to "0" (I/O port).
SMD00, SMD01: 00FF48HD1, D2
SMD10, SMD11: 00FF4CHD1, D2
Set the transfer modes according to Table 5.7.10.2.
Table 5.7.10.2 Transfer mode settings
SMDx1
SMDx0
Mode
1
0
1
0
1
0
Asynchronous 8-bit
Asynchronous 7-bit
Clock synchronous slave
Clock synchronous master
SMDx0 and SMDx1 can also read out.
At initial reset, this register is set to "0" (clock
synchronous master mode).