h8s-2111b Renesas Electronics Corporation., h8s-2111b Datasheet - Page 137

no-image

h8s-2111b

Manufacturer Part Number
h8s-2111b
Description
Renesas 16-bit Single-chip Microcomputer H8s Family / H8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
7.2.2
P2DR stores output data for port 2.
7.2.3
P2PCR controls the port 2 on-chip input pull-up MOSs.
7.2.4
• P27, P26, P25, P24, P23, P22, P21, P20
[Legend]
n = 7 to 0
Bit
7
6
5
4
3
2
1
0
Bit
7
6
5
4
3
2
1
0
P2nDDR
Pin Function
The pin function is switched as shown below according to the state of the P2nDDR bit.
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)
Pin Functions
Initial
Value
0
0
0
0
0
0
0
0
Initial
Value
0
0
0
0
0
0
0
0
P27 to P20 input pins
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
0
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
The input pull-up MOS is turned on when a P2PCR bit
is set to 1 in the input port state.
Rev. 1.00, 05/04, page 103 of 544
P27 to P20 output pins
1

Related parts for h8s-2111b