
7-15
Seiko Epson Corporation
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)
7.7.2.
P1 Port Group
The P1 port group consists of seven ports P10
–
P16 and they support the GPIO and interrupt
functions.
Table 7.7.2.1 Control Registers for P1 Port Group
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
PPORTP1DAT
(P1 Port Data
Register)
15
–
8
P1OUT[7:0]
0x00
H0
R/W
–
7
–
0
P1IN[7:0]
0x00
H0
R
PPORTP1IOEN
(P1 Port Enable
Register)
15
–
8
P1IEN[7:0]
0x00
H0
R/W
–
7
–
0
P1OEN[7:0]
0x00
H0
R/W
PPORTP1RCTL
(P1 Port Pull-
up/down Control
Register)
15
–
8
P1PDPU[7:0]
0x00
H0
R/W
–
7
–
0
P1REN[7:0]
0x00
H0
R/W
PPORTP1INTF
(P1 Port Interrupt
Flag Register)
15
–
8
–
0x00
–
R
–
7
–
0
P1IF[7:0]
0x00
H0
R/W
Cleared by writing 1.
PPORTP1INTCTL
(P1 Port Interrupt
Control Register)
15
–
8
P1EDGE[7:0]
0x00
H0
R/W
–
7
–
0
P1IE[7:0]
0x00
H0
R/W
PPORTP1CHATEN
(P1 Port Chattering
Filter Enable
Register)
15
–
8
–
0x00
–
R
–
7
–
0
P1CHATEN[7:0]
0x00
H0
R/W
PPORTP1MODSEL
(P1 Port Mode
Select Register)
15
–
8
–
0x00
–
R
–
7
–
0
P1SEL[7:0]
0x00
H0
R/W
PPORTP1FNCSEL
(P1 Port Function
Select Register)
15
–
14
P17MUX[1:0]
0x0
H0
R/W
–
13
–
12
P16MUX[1:0]
0x0
H0
R/W
11
–
10
P15MUX[1:0]
0x0
H0
R/W
9
–
8
P14MUX[1:0]
0x0
H0
R/W
7
–
6
P13MUX[1:0]
0x0
H0
R/W
5
–
4
P12MUX[1:0]
0x0
H0
R/W
3
–
2
P11MUX[1:0]
0x0
H0
R/W
1
–
0
P10MUX[1:0]
0x0
H0
R/W
Table 7.7.2.2 P1 Port Group Function Assignment
Port
name
P1SEL
y
= 0
P1SEL
y
= 1
GPIO
P1
y
MUX = 0x0
(Function 0)
P1
y
MUX = 0x1
(Function 1)
P1
y
MUX = 0x2
(Function 2)
P1
y
MUX = 0x3
(Function 3)
Peripheral
Pin
Peripheral
Pin
Peripheral
Pin
Peripheral
Pin
P10
P10
–
–
UPMUX
*1
ADC12A
ADIN7
–
–
P11
P11
–
–
UPMUX
*1
ADC12A
ADIN6
–
–
P12
P12
–
–
UPMUX
*1
ADC12A
ADIN5
–
–
P13
P13
–
–
UPMUX
*1
ADC12A
ADIN4
–
–
P14
P14
–
–
UPMUX
*1
ADC12A
ADIN3
–
–
P15
P15
–
–
UPMUX
*1
ADC12A
ADIN2
–
–
P16
P16
–
–
UPMUX
*1
ADC12A
ADIN1
–
–
P17
P17
–
–
UPMUX
*1
ADC12A
ADIN0
–
–
*1: Refer to the
“Universal
Port
Multiplexer”
chapter.
Содержание 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 ...