Port 1 Data Register (P1Dr); Port 1 Pull-Up Mos Control Register (P1Pcr) - Renesas H8S/2158 User Manual

16-bit single-chip microcomputer h8s family/h8s/2100 series
Table of Contents

Advertisement

Section 9 I/O Ports
9.1.2

Port 1 Data Register (P1DR)

P1DR stores output data for the port 1 pins.
Bit
Bit Name
7
P17DR
6
P16DR
5
P15DR
4
P14DR
3
P13DR
2
P12DR
1
P11DR
0
P10DR
9.1.3

Port 1 Pull-Up MOS Control Register (P1PCR)

P1PCR controls the port 1 built-in input pull-up MOSs.
Bit
Bit Name
7
P17PCR
6
P16PCR
5
P15PCR
4
P14PCR
3
P13PCR
2
P12PCR
1
P11PCR
0
P10PCR
Rev. 3.00 Jan 25, 2006 page 210 of 872
REJ09B0286-0300
Initial Value
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
Initial Value
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
Description
P1DR stores output data for the port 1 pins that
are used as the general output port.
If a port 1 read is performed while the P1DDR bits
are set to 1, the P1DR values are read. If a port 1
read is performed while the P1DDR bits are
cleared to 0, the pin states are read.
Description
When the pins are in input state, the
corresponding input pull-up MOS is turned on
when a P1PCR bit is set to 1.

Advertisement

Table of Contents
loading

Table of Contents