h8s-2161b Renesas Electronics Corporation., h8s-2161b Datasheet - Page 230

no-image

h8s-2161b

Manufacturer Part Number
h8s-2161b
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 8 I/O Ports
8.3.2
P2DR stores output data for port 2.
8.3.3
P2PCR controls the port 2 on-chip input pull-up MOSs.
Rev. 3.00 Mar 21, 2006 page 176 of 788
REJ09B0300-0300
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.

Related parts for h8s-2161b