h8s-2158 Renesas Electronics Corporation., h8s-2158 Datasheet - Page 265

no-image

h8s-2158

Manufacturer Part Number
h8s-2158
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
9.2.2
P2DR stores output data for the port 2 pins.
9.2.3
P2PCR controls the port 2 built-in input pull-up MOSs.
Bit
7
6
5
4
3
2
1
0
Bit
7
6
5
4
3
2
1
0
Bit Name
P27DR
P26DR
P25DR
P24DR
P23DR
P22DR
P21DR
P20DR
Bit Name
P27PCR
P26PCR
P25PCR
P24PCR
P23PCR
P22PCR
P21PCR
P20PCR
Port 2 Data Register (P2DR)
Port 2 Pull-Up MOS Control Register (P2PCR)
Initial Value
0
0
0
0
0
0
0
0
Initial Value
0
0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
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.
When the pins are in input state, the
corresponding input pull-up MOS is turned on
when a P2PCR bit is set to 1.
Description
Description
Rev. 3.00 Jan 25, 2006 page 213 of 872
Section 9 I/O Ports
REJ09B0286-0300

Related parts for h8s-2158