III PERIPHERAL BLOCK: INPUT/OUTPUT PORTS
B-III-9-20 EPSON S1C33L03 FUNCTION PART
NameAddressRegister name Bit Function Setting Init. R/W Remarks
–
SPPK11
SPPK10
SPPK01
SPPK00
D7–4
D3
D2
D1
D0
reserved
FPK1 i
nterrupt input port selection
FPK0 i
nterrupt input port selection
–
0
0
0
0
–
R/W
R/W
0 when being read.00402CA
(B)
Key input
interrupt select
register
–
11 10 01 00
P2[7:4] P0[7:4] K6[7:4] K6[3:0]
11 10 01 00
P2[4:0] P0[4:0] K6[4:0] K5[4:0]
–
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
SPT71–SPT70: FPT7 interrupt input port selection (D[7:6]) / Port input interrupt select register 2 (0x402C7)
SPT61–SPT60: FPT6 interrupt input port selection (D[5:4]) / Port input interrupt select register 2 (0x402C7)
SPT51–SPT50: FPT5 interrupt input port selection (D[3:2]) / Port input interrupt select register 2 (0x402C7)
SPT41–SPT40: FPT4 interrupt input port selection (D[1:0]) / Port input interrupt select register 2 (0x402C7)
SPT31–SPT30: FPT3 interrupt input port selection (D[7:6]) / Port input interrupt select register 1 (0x402C6)
SPT21–SPT20: FPT2 interrupt input port selection (D[5:4]) / Port input interrupt select register 1 (0x402C6)
SPT11–SPT10: FPT1 interrupt input port selection (D[3:2]) / Port input interrupt select register 1 (0x402C6)
SPT01–SPT00: FPT0 interrupt input port selection (D[1:0]) / Port input interrupt select register 1 (0x402C6)
Select an input pin for port interrupt generation.
Table 9.11 Selecting Pins for Port Input Interrupts
Interrupt SPT settings
system 11 10 01 00
FPT7 P27 P07 P33 K67
FPT6 P26 P06 P32 K66
FPT5 P25 P05 P31 K65
FPT4 P24 P04 K54 K64
FPT3 P23 P03 K53 K63
FPT2 P22 P02 K52 K62
FPT1 P21 P01 K51 K61
FPT0 P20 P00 K50 K60
At cold start, SPT is set to "00". At hot start, SPT retains its state from prior to the initial reset.