I/O Memory Of Input Ports - Epson S1C63558 Technical Manual

Epson network device technical manual
Table of Contents

Advertisement

CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Input Ports)

4.4.4 I/O memory of input ports

Table 4.4.4.1 shows the I/O addresses and the control bits for the input ports.
Register
Address
D3
D2
SIK03
SIK02
SIK01
FF20H
R/W
K03
K02
FF21H
R
KCP03 KCP02 KCP01 KCP00
FF22H
R/W
SIK13
SIK12
SIK11
FF24H
R/W
K13
K12
FF25H
R
KCP13 KCP12 KCP11 KCP10
FF26H
R/W
0
0
FFE4H
R
0
0
FFE5H
R
0
0
FFF4H
R
0
0
FFF5H
R
*1 Initial value at initial reset
*2 Not set in the circuit
*3 Constantly "0" when being read
K00–K03: K0 port input port data (FF21H)
K10–K13: K1 port input port data (FF25H)
Input data of the input port terminals can be read with these registers.
When "1" is read: High level
When "0" is read: Low level
Writing: Invalid
The reading is "1" when the terminal voltage of the eight bits of the input ports (K00–K03, K10–K13) goes
high (V
), and "0" when the voltage goes low (V
DD
These bits are dedicated for reading, so writing cannot be done.
30
Table 4.4.4.1 Control bits of input ports
D1
D0
Name Init
1
SIK03
0
SIK00
SIK02
0
SIK01
0
SIK00
0
K03
2
K01
K00
2
K02
K01
2
2
K00
KCP03
1
KCP02
1
KCP01
1
KCP00
1
SIK13
0
SIK10
SIK12
0
SIK11
0
SIK10
0
K13
2
K11
K10
2
K12
K11
2
2
K10
KCP13
1
KCP12
1
KCP11
1
KCP10
1
3
2
0
0
EIK0
0
3
2
3
2
0
R/W
EIK0
0
0
3
2
0
EIK1
3
2
0
0
3
2
R/W
EIK1
0
3
2
0
0
IK0
0
3
2
3
2
0
R/W
IK0
0
3
2
0
0
IK1
0
3
2
3
2
0
R/W
IK1
0
1
0
Enable
Disable
Enable
Disable
K00–K03 interrupt selection register
Enable
Disable
Enable
Disable
High
Low
High
Low
K00–K03 input port data
High
Low
High
Low
K00–K03 input comparison register
Enable
Disable
Enable
Disable
K10–K13 interrupt selection register
Enable
Disable
Enable
Disable
High
Low
High
Low
K10–K13 input port data
High
Low
High
Low
K10–K13 input comparison register
Unused
Unused
Unused
Enable
Mask
Interrupt mask register (K00–K03)
Unused
Unused
Unused
Enable
Mask
Interrupt mask register (K10–K13)
(R)
(R)
Unused
Yes
No
Unused
(W)
(W)
Unused
Reset
Invalid
Interrupt factor flag (K00–K03)
(R)
(R)
Unused
Yes
No
Unused
(W)
(W)
Unused
Reset
Invalid
Interrupt factor flag (K10–K13)
).
SS
EPSON
Comment
S1C63558 TECHNICAL MANUAL

Advertisement

Table of Contents
loading

Table of Contents