Port 2 Data Register (P2Dr); Port 2 Pull-Up Mos Control Register (P2Pcr) - Renesas H8S Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for H8S Series:
Table of Contents

Advertisement

Section 8 I/O Ports
8.2.2

Port 2 Data Register (P2DR)

P2DR stores output data for the port 2 pins.
Bit
Bit Name
7
P27DR
6
P26DR
5
P25DR
4
P24DR
3
P23DR
2
P22DR
1
P21DR
0
P20DR
8.2.3

Port 2 Pull-Up MOS Control Register (P2PCR)

P2PCR controls the on/off state of the input pull-up MOS for port 2 pins.
Bit
Bit Name
7
P27PCR
6
P26PCR
5
P25PCR
4
P24PCR
3
P23PCR
2
P22PCR
1
P21PCR
0
P20PCR
Rev. 3.00 Jul. 14, 2005 Page 168 of 986
REJ09B0098-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
P2DR stores output data for the port 2 pins that are
used as the general output port.
If a port 2 read is performed while the P2DDR bits
are set to 1, the P2DR values are read. If a port 2
read is performed while the P2DDR 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 P2PCR bit
is set to 1.

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2100 seriesH8s/2114rR4f2114r

Table of Contents