P3 Port Group - Epson S1C17W03 Technical Manual

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

6 I/O PORTS (PPORT)

6.7.4 P3 Port Group

The P3 port group consists of six ports P30–P35 and they support the GPIO and interrupt functions.
Note: The P32 port does not exist in the 32-pin package.
Register name
Bit
P3DAT
15–14 –
(P3 Port Data
13–8 P3OUT[5:0]
Register)
7–6 –
5–0 P3IN[5:0]
P3IOEN
15–14 –
(P3 Port Enable
13–8 P3IEN[5:0]
Register)
7–6 –
5–0 P3OEN[5:0]
P3RCTL
15–14 –
(P3 Port Pull-up/down
13–8 P3PDPU[5:0]
Control Register)
7–6 –
5–0 P3REN[5:0]
P3INTF
15–8 –
(P3 Port Interrupt
7–6 –
Flag Register)
5–0 P3IF[5:0]
P3INTCTL
15–14 –
(P3 Port Interrupt
13–8 P3EDGE[5:0]
Control Register)
7–6 –
5–0 P3IE[5:0]
P3CHATEN
15–8 –
(P3 Port Chattering
7–6 –
Filter Enable Register)
5–0 P3CHATEN[5:0]
P3MODSEL
15–8 –
(P3 Port Mode Select
7–6 –
Register)
5–0 P3SEL[5:0]
P3FNCSEL
15–12 –
(P3 Port Function
11–10 P35MUX[1:0]
Select Register)
9–8 P34MUX[1:0]
7–6 P33MUX[1:0]
5–4 P32MUX[1:0]
3–2 P31MUX[1:0]
1–0 P30MUX[1:0]
P3SELy = 0
Port
name
GPIO
Peripheral
P30
P30
T16B Ch.1
P31
P31
T16B Ch.1
P32
P32
P33
P33
P34
P34
P35
P35
*1: Refer to the "Universal Port Multiplexer" chapter.
6-14
Table 6.7.4.1 Control Registers for P3 Port Group
Bit name
Initial
0x0
0x00
0x0
0x00
0x0
0x00
0x0
0x00
0x0
0x00
0x0
0x00
0x00
0x0
0x00
0x0
0x00
0x0
0x00
0x00
0x0
0x00
0x00
0x0
0x00
0x0
0x0
0x0
0x0
0x0
0x0
0x0
Table 6.7.4.2 P3 Port Group Function Assignment
P3yMUX = 0x0
P3yMUX = 0x1
(Function 0)
(Function 1)
Pin
Peripheral
EXCL10
UPMUX
EXCL11
UPMUX
UPMUX
UPMUX
UPMUX
UPMUX
Seiko Epson Corporation
Reset
R/W
R
H0
R/W
R
H0
R
R
H0
R/W
R
H0
R/W
R
H0
R/W
R
H0
R/W
R
R
H0
R/W
Cleared by writing 1.
R
H0
R/W
R
H0
R/W
R
R
H0
R/W
R
R
H0
R/W
R
H0
R/W
H0
R/W
H0
R/W
H0
R/W
H0
R/W
H0
R/W
P3SELy = 1
P3yMUX = 0x2
(Function 2)
Pin
Peripheral
Pin
ADC12A
ADIN05
*1
ADC12A
ADIN04
*1
ADC12A
ADIN03
*1
ADC12A
ADIN02
*1
ADC12A
ADIN01
*1
ADC12A
ADIN00
*1
S1C17W03/W04 TECHNICAL MANUAL
Remarks
P3yMUX = 0x3
(Function 3)
Peripheral
Pin
(Rev. 1.2)

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c17w04

Table of Contents