7-16
Seiko Epson Corporation
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)
7.7.3.
P2 Port Group
The P2 port group supports the GPIO and interrupt functions.
Table 7.7.3.1 Control Registers for P2 Port Group
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
PPORTP2DAT
(P2 Port Data
Register)
15
–
8
P2OUT[7:0]
0x00
H0
R/W
–
7
–
0
P2IN[7:0]
0x00
H0
R
PPORTP2IOEN
(P2 Port Enable
Register)
15
–
8
P2IEN[7:0]
0x00
H0
R/W
–
7
–
0
P2OEN[7:0]
0x00
H0
R/W
PPORTP2RCTL
(P2 Port Pull-
up/down Control
Register)
15
–
8
P2PDPU[7:0]
0x00
H0
R/W
–
7
–
0
P2REN[7:0]
0x00
H0
R/W
PPORTP2INTF
(P2 Port Interrupt
Flag Register)
15
–
8
–
0x00
–
R
–
7
–
0
P2IF[7:0]
0x00
H0
R/W
Cleared by writing 1.
PPORTP2INTCTL
(P2 Port Interrupt
Control Register)
15
–
8
P2EDGE[7:0]
0x00
H0
R/W
–
7
–
0
P2IE[7:0]
0x00
H0
R/W
PPORTP2CHATEN
(P2 Port Chattering
Filter Enable
Register)
15
–
8
–
0x00
–
R
–
7
–
0
P2CHATEN[7:0]
0x00
H0
R/W
PPORTP2MODSEL
(P2 Port Mode
Select Register)
15
–
8
–
0x00
–
R
–
7
–
0
P2SEL[7:0]
0x00
H0
R/W
PPORTP2FNCSEL
(P2 Port Function
Select Register)
15
–
14
P27MUX[1:0]
0x0
H0
R/W
–
13
–
12
P26MUX[1:0]
0x0
H0
R/W
11
–
10
P25MUX[1:0]
0x0
H0
R/W
9
–
8
P24MUX[1:0]
0x0
H0
R/W
7
–
6
P23MUX[1:0]
0x0
H0
R/W
5
–
4
P22MUX[1:0]
0x0
H0
R/W
3
–
2
P21MUX[1:0]
0x0
H0
R/W
1
–
0
P20MUX[1:0]
0x0
H0
R/W
Table 7.7.3.2 P2 Port Group Function Assignment
Port
name
P2SEL
y
= 0
P2SEL
y
= 1
GPIO
P2
y
MUX = 0x0
(Function 0)
P2
y
MUX = 0x1
(Function 1)
P2
y
MUX = 0x2
(Function 2)
P2
y
MUX = 0x3
(Function 3)
Peripheral
Pin
Peripheral
Pin
Peripheral
Pin
Peripheral
Pin
P20
P20
RFC
SENB0
UPMUX
*1
–
–
–
–
P21
P21
RFC
SENA0
UPMUX
*1
–
–
–
–
P22
P22
RFC
REF0
UPMUX
*1
–
–
–
–
P23
P23
RFC
RFIN0
UPMUX
*1
–
–
–
–
P24
P24
–
–
UPMUX
*1
–
–
–
–
P25
P25
–
–
UPMUX
*1
–
–
–
–
P26
P26
–
–
UPMUX
*1
–
–
–
–
P27
P27
–
–
UPMUX
*1
–
–
–
–
*1: Refer to the
“Universal
Port
Multiplexer”
chapter.
Summary of Contents for S1C31D50
Page 461: ...25 1 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 25 Package TQFP12 48PIN ...
Page 462: ...25 2 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP13 64PIN ...
Page 463: ...25 3 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 TQFP14 80PIN ...
Page 464: ...25 4 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP15 100PIN ...