
VI PERIPHERAL MODULES 4 (PORTS): GENERAL-PURPOSE I/O PORTS (GPIO)
VI-1-10
EPSON
S1C33E07 TECHNICAL MANUAL
VI.1.6 Details of Control Registers
Table VI.1.6.1 List of I/O Port Registers
Address
0x00300380
0x00300381
0x00300382
0x00300383
0x00300384
0x00300385
0x00300386
0x00300387
0x00300388
0x00300389
0x0030038A
0x0030038B
0x0030038C
0x0030038D
0x0030038E
0x00300390
0x00300391
0x00300392
0x00300393
0x003003A0
0x003003A1
0x003003A2
0x003003A3
0x003003A4
0x003003A5
0x003003A6
0x003003A7
0x003003A8
0x003003A9
0x003003AA
0x003003AB
0x003003AC
0x003003AD
0x003003AE
0x003003AF
0x003003B0
0x003003B1
0x003003B2
0x003003B3
0x003003C0
0x003003C1
0x003003C2
0x003003C3
0x003003C4
0x003003C5
0x003003C6
0x003003C7
0x003003D0
0x003003D2
0x003003D3
0x003003D4
0x003003D5
Function
P0 port data read/write register
Controls P0 port input/output direction.
P1 port data read/write register
Controls P1 port input/output direction.
P2 port data read/write register
Controls P2 port input/output direction.
P3 port data read/write register
Controls P3 port input/output direction.
P4 port data read/write register
Controls P4 port input/output direction.
P5 port data read/write register
Controls P5 port input/output direction.
P6 port data read/write register
Controls P6 port input/output direction.
P7 port data read/write register
P8 port data read/write register
Controls P8 port input/output direction.
P9 port data read/write register
Controls P9 port input/output direction.
Sets P00–P03 port pin function.
Sets P04–P07 port pin function.
Sets P10–P13 port pin function.
Sets P14–P17 port pin function.
Sets P20–P23 port pin function.
Sets P24–P27 port pin function.
Sets P30–P33 port pin function.
Sets P34–P36 port pin function.
Sets P40–P43 port pin function.
Sets P44–P47 port pin function.
Sets P50–P53 port pin function.
Sets P54–P57 port pin function.
Sets P60–P63 port pin function.
Sets P64–P67 port pin function.
Sets P70–P73 port pin function.
Sets P74 port pin function.
Sets P80–P83 port pin function.
Sets P84–P85 port pin function.
Sets P90–P93 port pin function.
Sets P94–P97 port pin function.
Selects ports used for FPT0–FPT3 port input
interrupts.
Selects ports used for FPT4–FPT7 port input
interrupts.
Selects signal polarity to generate FPT0–FPT7 port
input interrupts.
Selects FPT0–FPT7 port interrupt trigger condition.
Selects ports used for FPT8–FPT11 port input
interrupts.
Selects ports used for FPT12–FPT15 port input
interrupts.
Selects signal polarity to generate FPT8–FPT15 port
input interrupts.
Selects FPT8–FPT15 port interrupt trigger condition.
Selects ports used for key input interrupts.
Sets FPK0 interrupt trigger edge condition.
Sets FPK1 interrupt trigger edge condition.
Enables/disables ports for generating FPK0
interrupts.
Enables/disables ports for generating FPK1
interrupts.
Register name
P0 Port Data Register (pP0_P0D)
P0 I/O Control Register (pP0_IOC0)
P1 Port Data Register (pP1_P1D)
P1 I/O Control Register (pP1_IOC1)
P2 Port Data Register (pP2_P2D)
P2 I/O Control Register (pP2_IOC2)
P3 Port Data Register (pP3_P3D)
P3 I/O Control Register (pP3_IOC3)
P4 Port Data Register (pP4_P4D)
P4 I/O Control Register (pP4_IOC4)
P5 Port Data Register (pP5_P5D)
P5 I/O Control Register (pP5_IOC5)
P6 Port Data Register (pP6_P6D)
P6 I/O Control Register (pP6_IOC6)
P7 Port Data Register (pP7_P7D)
P8 Port Data Register (pP8_P8D)
P8 I/O Control Register (pP8_IOC8)
P9 Port Data Register (pP9_P9D)
P9 I/O Control Register (pP9_IOC9)
P00–P03 Port Function Select Register (pP0_03_CFP)
P04–P07 Port Function Select Register (pP0_47_CFP)
P10–P13 Port Function Select Register (pP1_03_CFP)
P14–P17 Port Function Select Register (pP1_47_CFP)
P20–P23 Port Function Select Register (pP2_03_CFP)
P24–P27 Port Function Select Register (pP2_47_CFP)
P30–P33 Port Function Select Register (pP3_03_CFP)
P34–P36 Port Function Select Register (pP3_46_CFP)
P40–P43 Port Function Select Register (pP4_03_CFP)
P44–P47 Port Function Select Register (pP4_47_CFP)
P50–P53 Port Function Select Register (pP5_03_CFP)
P54–P57 Port Function Select Register (pP5_47_CFP)
P60–P63 Port Function Select Register (pP6_03_CFP)
P64–P67 Port Function Select Register (pP6_47_CFP)
P70–P73 Port Function Select Register (pP7_03_CFP)
P74 Port Function Select Register (pP7_4_CFP)
P80–P83 Port Function Select Register (pP8_03_CFP)
P84–P85 Port Function Select Register (pP8_45_CFP)
P90–P93 Port Function Select Register (pP9_03_CFP)
P94–P97 Port Function Select Register (pP9_47_CFP)
Port Input Interrupt Select Register 1
(pPINTSEL_SPT03)
Port Input Interrupt Select Register 2
(pPINTSEL_SPT47)
Port Input Interrupt Polarity Select Register 1
(pPINTPOL_SPP07)
Port Input Interrupt Edge/Level Select Register 1
(pPINTEL_SEPT07)
Port Input Interrupt Select Register 3
(pPINTSEL_SPT811)
Port Input Interrupt Select Register 4
(pPINTSEL_SPT1215)
Port Input Interrupt Polarity Select Register 2
(pPINTPOL_SPP815)
Port Input Interrupt Edge/Level Select Register 2
(pPINTEL_SEPT815)
Key Input Interrupt Select Register (pKINTSEL_SPPK01)
Key Input Interrupt (FPK0) Input Comparison Register
(pKINTCOMP_SCPK0)
Key Input Interrupt (FPK1) Input Comparison Register
(pKINTCOMP_SCPK1)
Key Input Interrupt (FPK0) Input Mask Register
(pKINTCOMP_SMPK0)
Key Input Interrupt (FPK1) Input Mask Register
(pKINTCOMP_SMPK1)
Size
8
The following describes each I/O port control register. The I/O port control registers are mapped in the 8-bit device
area from 0x300380 to 0x3003D5, and can be accessed in units of bytes.