APPENDIX: I/O MAP
S1C33210 FUNCTION PART EPSON B-APPENDIX-21
NameAddressRegister name Bit Function Setting Init. R/W Remarks
–
SCPK04
SCPK03
SCPK02
SCPK01
SCPK00
D7–5
D4
D3
D2
D1
D0
reserved
FPK04 input comparison
FPK03 input comparison
FPK02 input comparison
FPK01 input comparison
FPK00 input comparison
– –
0
0
0
0
0
–
R/W
R/W
R/W
R/W
R/W
0 when being read.00402CC
(B)
1 High 0 Low
Key input
interrupt
(FPK0) input
comparison
register
–
SCPK13
SCPK12
SCPK11
SCPK10
D7–4
D3
D2
D1
D0
reserved
FPK13 input comparison
FPK12 input comparison
FPK11 input comparison
FPK10 input comparison
– –
0
0
0
0
–
R/W
R/W
R/W
R/W
0 when being read.00402CD
(B)
1 High 0 Low
Key input
interrupt
(FPK1) input
comparison
register
–
SMPK04
SMPK03
SMPK02
SMPK01
SMPK00
D7–5
D4
D3
D2
D1
D0
reserved
FPK04 input mask
FPK03 input mask
FPK02 input mask
FPK01 input mask
FPK00 input mask
– –
0
0
0
0
0
–
R/W
R/W
R/W
R/W
R/W
0 when being read.00402CE
(B)
1 Interrupt
enabled
0 Interrupt
disabled
Key input
interrupt
(FPK0) input
mask register
–
SMPK13
SMPK12
SMPK11
SMPK10
D7–4
D3
D2
D1
D0
reserved
FPK13 input mask
FPK12 input mask
FPK11 input mask
FPK10 input mask
– –
0
0
0
0
–
R/W
R/W
R/W
R/W
0 when being read.00402CF
(B)
1 Interrupt
enabled
0 Interrupt
disabled
Key input
interrupt
(FPK1) input
mask register
–
CFP05
CFP04
CFP03
CFP02
CFP01
CFP00
D7-6
D5
D4
D3
D2
D1
D0
Reserved
P05 function selection
P04 function selection
P03 function selection
P02 function selection
P01 function selection
P00 function selection
–
0
0
0
0
0
0
–
R/W
R/W
R/W
R/W
R/W
R/W
0 when being read.
Extended functions
(0x402DF)
00402D0
(B)
–
1 SOUT1 0 P05
1 SIN1 0 P04
1 #SRDY0 0 P03
1 #SCLK0 0 P02
1 SOUT0 0 P01
1 SIN0 0 P00
P0 function
select register
–
P05D
P04D
P03D
P02D
P01D
P00D
D7-6
D5
D4
D3
D2
D1
D0
reserved
P05 I/O port data
P04 I/O port data
P03 I/O port data
P02 I/O port data
P01 I/O port data
P00 I/O port data
–
0
0
0
0
0
0
–
R/W
R/W
R/W
R/W
R/W
R/W
0 when being read.00402D1
(B)
–
High 01 Low
P0 I/O port data
register
–
IOC05
IOC04
IOC03
IOC02
IOC01
IOC00
D7-6
D5
D4
D3
D2
D1
D0
reserved
P05 I/O control
P04 I/O control
P03 I/O control
P02 I/O control
P01 I/O control
P00 I/O control
–
0
0
0
0
0
0
–
R/W
R/W
R/W
R/W
R/W
R/W
0 when being read. 00402D2
(B)
1 Output 0 Input
P0 I/O control
register
–
–
CFP16
CFP15
CFP14
CFP13
CFP12
CFP11
CFP10
D7
D6
D5
D4
D3
D2
D1
D0
reserved
P16 function selection 1
P15 function selection 1
P14 function selection
P13 function selection
P12 function selection
P11 function selection
P10 function selection
–
0
0
0
0
0
0
0
–
R/W
R/W
R/W
R/W
R/W
R/W
R/W
0 when being read.
Extended functions
(0x402DF)
00402D4
(B)
1 EXCL5
#DMAEND1
0 P16
1 EXCL4
#DMAEND0
0 P15
1 EXCL3
T8UF3
0 P13
1 EXCL2
T8UF2
0 P12
1 EXCL1
T8UF1
0 P11
1 EXCL0
T8UF0
0 P10
–P1 function
select register
1 FOSC1 0 P14
–
P16D
P15D
P14D
P13D
P12D
P11D
P10D
D7
D6
D5
D4
D3
D2
D1
D0
reserved
P16 I/O port data
P15 I/O port data
P14 I/O port data
P13 I/O port data
P12 I/O port data
P11 I/O port data
P10 I/O port data
–
0
0
0
0
0
0
0
–
R/W
R/W
R/W
R/W
R/W
R/W
R/W
0 when being read.00402D5
(B)
1 High 0 Low
–
P1 I/O port data
register