English
Language : 

HD64F2145 Datasheet, PDF (204/829 Pages) Renesas Technology Corp – Hitachi 16-Bit Single-Chip Microcomputer
8.3.2 Port 2 Data Register (P2DR)
P2DR stores output data for port 2.
Bit Bit Name Initial Value R/W
7
P27DR
0
R/W
6
P26DR
0
R/W
5
P25DR
0
R/W
4
P24DR
0
R/W
3
P23DR
0
R/W
2
P22DR
0
R/W
1
P21DR
0
R/W
0
P20DR
0
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.
8.3.3 Port 2 Pull-Up MOS Control Register (P2PCR)
P2PCR controls the port 2 on-chip input pull-up MOSs.
Bit Bit Name Initial Value R/W Description
7
P27PCR 0
6
P26PCR 0
5
P25PCR 0
R/W In modes 2 and 3, the input pull-up MOS is turned
R/W
on when a P2PCR bit is set to 1 in the input port
state.
R/W
4
P24PCR 0
R/W
3
P23PCR 0
R/W
2
P22PCR 0
R/W
1
P21PCR 0
R/W
0
P20PCR 0
R/W
Rev. 2.0, 08/02, page 164 of 788