7-19
Seiko Epson Corporation
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)
7.7.6.
P5 Port Group
The P5 port group consists of seven ports P50
–
P56 and they support the GPIO and interrupt functions.
Table 7.7.6.1 Control Registers for P5 Port Group
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
PPORTP5DAT
(P5 Port Data
Register)
15
–
8
P5OUT[7:0]
0x00
H0
R/W
–
7
–
0
P5IN[7:0]
0x00
H0
R
PPORTP5IOEN
(P5 Port Enable
Register)
15
–
8
P5IEN[7:0]
0x00
H0
R/W
–
7
–
0
P5OEN[7:0]
0x00
H0
R/W
PPORTP5RCTL
(P5 Port Pull-
up/down Control
Register)
15
–
8
P5PDPU[7:0]
0x00
H0
R/W
–
7
–
0
P5REN[7:0]
0x00
H0
R/W
PPORTP5INTF
(P5 Port Interrupt
Flag Register)
15
–
8
–
0x00
–
R
–
7
–
0
P5IF[7:0]
0x00
H0
R/W
Cleared by writing 1.
PPORTP5INTCTL
(P5 Port Interrupt
Control Register)
15
–
8
P5EDGE[7:0]
0x00
H0
R/W
–
7
–
0
P5IE[7:0]
0x00
H0
R/W
PPORTP5CHATEN
(P5 Port Chattering
Filter Enable
Register)
15
–
8
–
0x00
–
R
–
7
–
0
P5CHATEN[7:0]
0x00
H0
R/W
PPORTP5MODSEL
(P5 Port Mode
Select Register)
15
–
8
–
0x00
–
R
–
7
–
0
P5SEL[7:0]
0x00
H0
R/W
PPORTP5FNCSEL
(P5 Port Function
Select Register)
15
–
14
P57MUX[1:0]
0x0
H0
R/W
–
13
–
12
P56MUX[1:0]
0x0
H0
R/W
11
–
10
P55MUX[1:0]
0x0
H0
R/W
9
–
8
P54MUX[1:0]
0x0
H0
R/W
7
–
6
P53MUX[1:0]
0x0
H0
R/W
5
–
4
P52MUX[1:0]
0x0
H0
R/W
3
–
2
P51MUX[1:0]
0x0
H0
R/W
1
–
0
P50MUX[1:0]
0x0
H0
R/W
Table 7.7.6.2 P5 Port Group Function Assignment
Port
name
P5SEL
y
= 0
P5SEL
y
= 1
GPIO
P5
y
MUX = 0x0
(Function 0)
P5
y
MUX = 0x1
(Function 1)
P5
y
MUX = 0x2
(Function 2)
P5
y
MUX = 0x3
(Function 3)
Peripheral
Pin
Peripheral
Pin
Peripheral
Pin
Peripheral
Pin
P50
P50
SOUND_DAC
SDACOUT_P
–
–
–
–
–
–
P51
P51
SOUND_DAC
SDACOUT_N
–
–
–
–
–
–
P52
P52
–
–
–
–
–
–
–
–
P53
P53
–
–
–
–
–
–
–
–
P54
P54
–
–
–
–
–
–
–
–
P55
P55
–
–
–
–
–
–
–
–
P56
P56
–
–
–
–
–
–
–
–
P57
P57
–
–
Содержание 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 ...