![background image](http://html.mh-extra.com/html/epson/s1c31d50/s1c31d50_technical-instructions_107789095.webp)
7-8
Seiko Epson Corporation
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)
7.6.
Control Registers
This section describes the same control registers of all port groups as a single register. For the
register and bit con-
figurations in each port group and their initial values, refer to “Control Register
and Port Function Configuration of this IC.”
P
x
Port Data Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
PPORTP
x
DAT
15
–
8
P
x
OUT[7:0]
0x00
H0
R/W
–
7
–
0
P
x
IN[7:0]
0x00
H0
R
*1: This register is effective when the GPIO function is selected.
*2: The bit configuration differs depending on the port group.
*3: The initial value may be changed by the port.
Bits 15
–
8
P
x
OUT[7:0]
These bits are used to set data to be output from the GPIO port pins.
1 (R/W): Output high level from the port pin
0 (R/W): Output low level from the port pin
When output is enabled (PPORTP
x
IOEN.P
x
OEN
y
bit = 1), the port pin outputs the data set
here. Al- though data can be written when output is disabled (PPORTP
x
IOEN.P
x
OEN
y
bit =
0), it does not affect the pin status. These bits do not affect the outputs when the port is
used as a peripheral I/O function.
Bits 7
–
0
P
x
IN[7:0]
The GPIO port pin status can be read out from these bits.
1 (R): Port pin = High level
0 (R): Port pin = Low level
The port pin status can be read out when input is enabled (PPORTP
x
IOEN.P
x
IEN
y
bit = 1).
When in- put is disabled (PPORTP
x
IOEN.P
x
IEN
y
bit = 0), these bits are always read as 0.
When the port is used for a peripheral I/O function, the input value cannot be read out
from these bits.
Summary of Contents for S1C31D50
Page 461: ...25 1 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 25 Package TQFP12 48PIN ...
Page 462: ...25 2 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP13 64PIN ...
Page 463: ...25 3 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 TQFP14 80PIN ...
Page 464: ...25 4 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP15 100PIN ...