S1C6S3N2 TECHNICAL SOFTWARE
EPSON
II-69
CHAPTER 5: PERIPHERAL CIRCUITS (Input Ports)
Input Ports (K00–K03, K10)
The S1C6S3N2 Series has general-purpose input ports
consisting of a total of five bits. Four bits are reserved for
pins K00–K03 and one bit is for K10. All five bits of these
input ports have interrupt functions.
5.7
Input port memory
map
Table 5.7.1 I/O data memory map (input ports)
–
0
0
–
*2
*2
Address
Comment
Register
D3
D2
D1
D0
Name
0
073H
074H
K03
K02
K01
K00
DFK03
DFK02
DFK01
DFK00
R/W
R
K03
K02
K01
K00
–
–
–
–
*2
*2
*2
*2
High
High
High
High
Low
Low
Low
Low
DFK03
DFK02
DFK01
DFK00
0
0
0
0
Falling
Falling
Falling
Falling
Rising
Rising
Rising
Rising
Input port (K00–K03)
Differential register
(K00–K03)
075H
077H
EIK03
EIK02
EIK01
EIK00
EIK10
DFK10
K10
R/W
R/W
EIK03
EIK02
EIK01
EIK00
0
0
0
0
Enable
Enable
Enable
Enable
Mask
Mask
Mask
Mask
0
EIK10
DFK10
K10
Mask
Rising
Low
Interrupt mask register
(K00–K03)
R
R
Enable
Falling
High
Unused
Interrupt mask register (K10)
Differential register (K10)
Input port (K10)
07AH
IK1
IK0
SWIT1
SWIT0
R
0
0
0
0
Yes
Yes
Yes
Yes
No
No
No
No
Interrupt factor flag
(K10)
Interrupt factor flag
(K00–K03)
Interrupt factor flag
(stopwatch 1 Hz)
Interrupt factor flag
(stopwatch 10 Hz)
0
SR
*1
1
IK1
IK0
SWIT1
SWIT0
*4
*4
*4
*4
*
1 Initial value at the time of initial reset
*
4 Reset (0) immediately after being read
*
2 Not set in the circuit
*
5 Constantly "0" when being read
*
3 Undefined
Summary of Contents for S1C6S3N2
Page 4: ......
Page 6: ......
Page 7: ...Hardware Hardware S1C6S3N2 I Technical Hardware ...
Page 8: ......
Page 141: ...Software Software S1C6S3N2 II Technical Software ...
Page 142: ......
Page 146: ......