P8 Port Group - Epson S1C17W18 Technical Manual

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

6.7.9 P8 Port Group

The P8 port group supports the GPIO and interrupt functions.
Register name
Bit
P8DAT
15–8 P8OUT[7:0]
(P8 Port Data
7–0 P8IN[7:0]
Register)
P8IOEN
15–8 P8IEN[7:0]
(P8 Port Enable
7–0 P8OEN[7:0]
Register)
P8RCTL
15–8 P8PDPU[7:0]
(P8 Port Pull-up/down
7–0 P8REN[7:0]
Control Register)
P8INTF
15–8 –
(P8 Port Interrupt
7–0 P8IF[7:0]
Flag Register)
P8INTCTL
15–8 P8EDGE[7:0]
(P8 Port Interrupt
7–0 P8IE[7:0]
Control Register)
P8CHATEN
15–8 –
(P8 Port Chattering
Filter Enable
7–0 P8CHATEN[7:0]
Register)
P8MODSEL
15–8 –
(P8 Port Mode Select
7–0 P8SEL[7:0]
Register)
P8FNCSEL
15–14 P87MUX[1:0]
(P8 Port Function
13–12 P86MUX[1:0]
Select Register)
11–10 P85MUX[1:0]
9–8 P84MUX[1:0]
7–6 P83MUX[1:0]
5–4 P82MUX[1:0]
3–2 P81MUX[1:0]
1–0 P80MUX[1:0]
P8SELy = 0
Port
name
GPIO
Peripheral
P80
P80
P81
P81
P82
P82
P83
P83
P84
P84
P85
P85
P86
P86
P87
P87
S1C17W18 TECHNICAL MANUAL
(Rev. 1.2)
Table 6.7.9.1 Control Registers for P8 Port Group
Bit name
Initial
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
Table 6.7.9.2 P8 Port Group Function Assignment
P8yMUX = 0x0
P8yMUX = 0x1
(Function 0)
(Function 1)
Pin
Peripheral
Seiko Epson Corporation
Reset
R/W
H0
R/W
H0
R
H0
R/W
H0
R/W
H0
R/W
H0
R/W
R
H0
R/W
Cleared by writing 1.
H0
R/W
H0
R/W
R
H0
R/W
R
H0
R/W
H0
R/W
H0
R/W
H0
R/W
H0
R/W
H0
R/W
H0
R/W
H0
R/W
H0
R/W
P8SELy = 1
P8yMUX = 0x2
(Function 2)
Pin
Peripheral
Pin
6 I/O PORTS (PPORT)
Remarks
P8yMUX = 0x3
(Function 3)
Peripheral
Pin
LCD8B
COM7/
SEG3
LCD8B
COM6/
SEG2
LCD8B
COM5/
SEG1
LCD8B
COM4/
SEG0
LCD8B
COM3
LCD8B
COM2
LCD8B
COM1
LCD8B
COM0
6-19

Advertisement

Table of Contents
loading

Table of Contents