24 I/O PORTS (GPIO)
S1C33L26 TECHNICAL MANUAL
Seiko Epson Corporation
24-17
D[3:0]
SEPT[3:0]: FPT[3:0] Interrupt Mode Select Bits
Selects trigger modes of the ports used for port interrupt 0 (FPT0–FPT3).
1 (R/W): Edge trigger mode (default)
0 (R/W): Level trigger mode
When SEPT
n
is set to 1 (default), the corresponding port is set to edge trigger mode. In edge trigger
mode, the interrupt flag is set at the active edge of the input signal and it retains 1 until reset via soft-
ware.
When SEPT
n
is set to 0, the corresponding port is set to level trigger mode. In level trigger mode, the
interrupt flag is set when the input signal goes the active level and it retains 1 until reset via software.
SLEEP mode can be canceled by causing a port input interrupt regardless of how the GPIO interrupt
mode (edge trigger/level trigger) is set.
FPT4–7 Interrupt Mode Select Register (GPIO_FPT47_MOD)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
FPT4–7
Interrupt Mode
Select Register
(GPIO_FPT47_
MOD)
0x300339
(8 bits)
D7–4 –
reserved
–
–
–
0 when being read.
D3
SEPT7
FPT7 interrupt mode select
1 Edge
0 Level
1
R/W
D2
SEPT6
FPT6 interrupt mode select
1 Edge
0 Level
1
R/W
D1
SEPT5
FPT5 interrupt mode select
1 Edge
0 Level
1
R/W
D0
SEPT4
FPT4 interrupt mode select
1 Edge
0 Level
1
R/W
D[7:4]
Reserved
D[3:0]
SEPT[7:4]: FPT[7:4] Interrupt Mode Select Bits
Selects trigger modes of the ports used for port interrupt 1 (FPT4–FPT7).
1 (R/W): Edge trigger mode (default)
0 (R/W): Level trigger mode
See the descriptions of SEPT[3:0]/GPIO_FPT03_MOD register.
FPT8–B Interrupt Mode Select Register (GPIO_FPT8B_MOD)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
FPT8–B
Interrupt Mode
Select Register
(GPIO_FPT8B_
MOD)
0x30033a
(8 bits)
D7–4 –
reserved
–
–
–
0 when being read.
D3
SEPTB
FPTB interrupt mode select
1 Edge
0 Level
1
R/W
D2
SEPTA
FPTA interrupt mode select
1 Edge
0 Level
1
R/W
D1
SEPT9
FPT9 interrupt mode select
1 Edge
0 Level
1
R/W
D0
SEPT8
FPT8 interrupt mode select
1 Edge
0 Level
1
R/W
D[7:4]
Reserved
D[3:0]
SEPT[B:8]: FPT[B:8] Interrupt Mode Select Bits
Selects trigger modes of the ports used for port interrupt 2 (FPT8–FPTB).
1 (R/W): Edge trigger mode (default)
0 (R/W): Level trigger mode
See the descriptions of SEPT[3:0]/GPIO_FPT03_MOD register.
FPTC–F Interrupt Mode Select Register (GPIO_FPTCF_MOD)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
FPTC–F
Interrupt Mode
Select Register
(GPIO_FPTCF_
MOD)
0x30033b
(8 bits)
D7–4 –
reserved
–
–
–
0 when being read.
D3
SEPTF
FPTF interrupt mode select
1 Edge
0 Level
1
R/W
D2
SEPTE
FPTE interrupt mode select
1 Edge
0 Level
1
R/W
D1
SEPTD
FPTD interrupt mode select
1 Edge
0 Level
1
R/W
D0
SEPTC
FPTC interrupt mode select
1 Edge
0 Level
1
R/W
D[7:4]
Reserved