p2125vps20 Renesas Electronics Corporation., p2125vps20 Datasheet - Page 195

no-image

p2125vps20

Manufacturer Part Number
p2125vps20
Description
16-bit Single-chip Microcomputer H8s Family / H8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
8.2.2
P2DR stores output data for port 2.
8.2.3
P2PCR controls the port 2 on-chip 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
Description
If a port 2 read is performed while P2DDR bits are set to
1, the P2DR values are read directly, regardless of the
actual pin states. If a port 2 read is performed while
P2DDR bits are cleared to 0, the pin states are read.
Description
In modes 2 and 3, the input pull-up MOS is turned on
when a P2PCR bit is set to 1 in the input port state.
Rev. 1.00 Sep. 21, 2006 Page 157 of 658
Section 8 I/O Ports
REJ09B0310-0100

Related parts for p2125vps20