h8s-2138 Renesas Electronics Corporation., h8s-2138 Datasheet - Page 252

no-image

h8s-2138

Manufacturer Part Number
h8s-2138
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 8 I/O Ports
Port 1 Data Register (P1DR)
P1DR is an 8-bit readable/writable register that stores output data for the port 1 pins (P17 to P10).
If a port 1 read is performed while P1DDR bits are set to 1, the P1DR values are read, regardless
of the actual pin states. If a port 1 read is performed while P1DDR bits are cleared to 0, the pin
states are read.
P1DR is initialized to H'00 by a reset and in hardware standby mode. It retains its prior state in
software standby mode.
Port 1 MOS Pull-Up Control Register (P1PCR)
P1PCR is an 8-bit readable/writable register that controls the port 1 on-chip MOS input pull-ups
on a bit-by-bit basis.
In modes 2 and 3, the MOS input pull-up is turned on when a P1PCR bit is set to 1 while the
corresponding P1DDR bit is cleared to 0 (input port setting).
P1PCR is initialized to H'00 by a reset and in hardware standby mode. It retains its prior state in
software standby mode.
Rev. 4.00 Jun 06, 2006 page 198 of 1004
REJ09B0301-0400
Bit
Initial value
R/W
Bit
Initial value
R/W
P17PCR
P17DR
R/W
R/W
7
0
7
0
P16PCR
P16DR
R/W
R/W
6
0
6
0
P15PCR
P15DR
R/W
R/W
5
0
5
0
P14PCR
P14DR
R/W
R/W
4
0
4
0
P13PCR
P13DR
R/W
R/W
3
0
3
0
P12PCR
P12DR
R/W
R/W
2
0
2
0
P11PCR
P11DR
R/W
R/W
1
0
1
0
P10PCR
P10DR
R/W
R/W
0
0
0
0

Related parts for h8s-2138