7-18
Seiko Epson Corporation
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)
7.7.5.
P4 Port Group
The P4 port group supports the GPIO and interrupt functions.
Table 7.7.5.1 Control Registers for P4 Port Group
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
PPORTP4DAT
(P4 Port Data
Register)
15
–
8
P4OUT[7:0]
0x00
H0
R/W
–
7
–
0
P4IN[7:0]
0x00
H0
R
PPORTP4IOEN
(P4 Port Enable
Register)
15
–
8
P4IEN[7:0]
0x00
H0
R/W
–
7
–
0
P4OEN[7:0]
0x00
H0
R/W
PPORTP4RCTL
(P4 Port Pull-
up/down Control
Register)
15
–
8
P4PDPU[7:0]
0x00
H0
R/W
–
7
–
0
P4REN[7:0]
0x00
H0
R/W
PPORTP4INTF
(P4 Port Interrupt
Flag Register)
15
–
8
–
0x00
–
R
–
7
–
0
P4IF[7:0]
0x00
H0
R/W
Cleared by writing 1.
PPORTP4INTCTL
(P4 Port Interrupt
Control Register)
15
–
8
P4EDGE[7:0]
0x00
H0
R/W
–
7
–
0
P4IE[7:0]
0x00
H0
R/W
PPORTP4CHATEN
(P4 Port Chattering
Filter Enable
Register)
15
–
8
–
0x00
–
R
–
7
–
0
P4CHATEN[7:0]
0x00
H0
R/W
PPORTP4MODSEL
(P4 Port Mode
Select Register)
15
–
8
–
0x00
–
R
–
7
–
0
P4SEL[7:0]
0x00
H0
R/W
PPORTP4FNCSEL
(P4 Port Function
Select Register)
15
–
14
P47MUX[1:0]
0x0
H0
R/W
–
13
–
12
P46MUX[1:0]
0x0
H0
R/W
11
–
10
P45MUX[1:0]
0x0
H0
R/W
9
–
8
P44MUX[1:0]
0x0
H0
R/W
7
–
6
P43MUX[1:0]
0x0
H0
R/W
5
–
4
P42MUX[1:0]
0x0
H0
R/W
3
–
2
P41MUX[1:0]
0x0
H0
R/W
1
–
0
P40MUX[1:0]
0x0
H0
R/W
Table 7.7.5.2 P4 Port Group Function Assignment
Port
name
P4SEL
y
= 0
P4SEL
y
= 1
GPIO
P4
y
MUX = 0x0
(Function 0)
P4
y
MUX = 0x1
(Function 1)
P4
y
MUX = 0x2
(Function 2)
P4
y
MUX = 0x3
(Function 3)
Peripheral
Pin
Peripheral
Pin
Peripheral
Pin
Peripheral
Pin
P40
P40
–
–
–
–
ADC12
VREFA
–
–
P41
P41
–
–
–
–
–
–
–
–
P42
P42
–
–
–
–
–
–
–
–
P43
P43
–
–
–
–
–
–
–
–
P44
P44
–
–
–
–
–
–
–
–
P45
P45
ADC12A
#ADTRG
–
–
–
–
–
–
P46
P46
RTCA
RTC1S
–
–
–
–
–
–
P47
P47
–
–
–
–
–
–
–
–
Содержание S1C31D50
Страница 461: ...25 1 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 25 Package TQFP12 48PIN ...
Страница 462: ...25 2 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP13 64PIN ...
Страница 463: ...25 3 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 TQFP14 80PIN ...
Страница 464: ...25 4 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP15 100PIN ...