24 I/O PORTS (GPIO)
S1C33L26 TECHNICAL MANUAL
Seiko Epson Corporation
24-15
FPTC–F Interrupt Port Select Register (GPIO_FPTCF_SEL)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
FPTC–F
Interrupt Port
Select Register
(GPIO_FPTCF_
SEL)
0x300333
(8 bits)
D7–6 SPTF[1:0]
FPTF interrupt input port select
SPTF[1:0]
Port
0x0 R/W
0x3
0x2
0x1
0x0
P97
P60
PB7
P75
D5–4 SPTE[1:0]
FPTE interrupt input port select
SPTE[1:0]
Port
0x0 R/W
0x3
0x2
0x1
0x0
P96
PA6
PB6
P74
D3–2 SPTD[1:0]
FPTD interrupt input port select
SPTD[1:0]
Port
0x0 R/W
0x3
0x2
0x1
0x0
P95
PA5
PB5
P73
D1–0 SPTC[1:0]
FPTC interrupt input port select
SPTC[1:0]
Port
0x0 R/W
0x3
0x2
0x1
0x0
P94
PA4
PB4
P72
D[7:6]
SPTF[1:0]: FPTF Interrupt input Port Select Bits
Selects an FPTF port used for generating port interrupt 3.
D[5:4]
SPTE[1:0]: FPTE Interrupt input Port Select Bits
Selects an FPTE port used for generating port interrupt 3.
D[3:2]
SPTD[1:0]: FPTD Interrupt input Port Select Bits
Selects an FPTD port used for generating port interrupt 3.
D[1:0]
SPTC[1:0]: FPTC Interrupt input Port Select Bits
Selects an FPTC port used for generating port interrupt 3.
8.6 Selecting Ports Used For Port Interrupt 3
Table 24.
SPT
n
[1:0] setting
FPTC (SPTC[1:0])
FPTD (SPTD[1:0])
FPTE (SPTE[1:0])
FPTF (SPTF[1:0])
0x3
P94
P95
P96
P97
0x2
PA4
PA5
PA6
P60
0x1
PB4
PB5
PB6
PB7
0x0 (default)
P72
P73
P74
P75
FPT0–3 Interrupt Polarity Select Register (GPIO_FPT03_POL)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
FPT0–3
Interrupt Polarity
Select Register
(GPIO_FPT03_
POL)
0x300334
(8 bits)
D7–4 –
reserved
–
–
–
0 when being read.
D3
SPPT3
FPT3 input polarity select
1 High /
↑
0 Low /
↓
1
R/W
D2
SPPT2
FPT2 input polarity select
1 High /
↑
0 Low /
↓
1
R/W
D1
SPPT1
FPT1 input polarity select
1 High /
↑
0 Low /
↓
1
R/W
D0
SPPT0
FPT0 input polarity select
1 High /
↑
0 Low /
↓
1
R/W
D[7:4]
Reserved
D[3:0]
SPPT[3:0]: FPT[3:0] Input Polarity Select Bits
Selects the interrupt trigger level or edge for the ports used for port interrupt 0 (FPT0–FPT3).
1 (R/W): High level/Rising edge (default)
0 (R/W): Low level/Falling edge
When SPPT
n
is set to 1 (default), high level (in level trigger mode) or rising edge (in edge trigger
mode) is selected as the interrupt generating condition for FPT
n
port.
When SPPT
n
is set to 0, low level (in level trigger mode) or falling edge (in edge trigger mode) is se-
lected.