H8S2110B RENESAS [Renesas Technology Corp], H8S2110B Datasheet - Page 133

no-image

H8S2110B

Manufacturer Part Number
H8S2110B
Description
Renesas 16-Bit Single-Chip Microcomputer Renesas H8S Family/H8S/2100 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
7.2
Port 1 is an 8-bit I/O port. Port 1 has an on-chip input pull-up MOS function that can be controlled
by software. Port 1 has the following registers.
7.2.1
P1DDR specifies input or output for the pins of port 1 on a bit-by-bit basis.
Bit
7
6
5
4
3
2
1
0
7.2.2
P1DR stores output data for the port 1 pins.
Bit
7
6
5
4
3
2
1
0
Port 1 data direction register (P1DDR)
Port 1 data register (P1DR)
Port 1 pull-up MOS control register (P1PCR)
Bit Name
P17DDR
P16DDR
P15DDR
P14DDR
P13DDR
P12DDR
P11DDR
P10DDR
Bit Name
P17DR
P16DR
P15DR
P14DR
P13DR
P12DR
P11DR
P10DR
Port 1
Port 1 Data Direction Register (P1DDR)
Port 1 Data Register (P1DR)
Initial Value
0
0
0
0
0
0
0
0
Initial Value
0
0
0
0
0
0
0
0
R/W
W
W
W
W
W
W
W
W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Description
The corresponding port 1 pins are output ports
when the P1DDR bits are set to 1, and input ports
when the P1DDR bits are cleared to 0.
Description
If a port 1 read is performed while the P1DDR bits
are set to 1, the P1DR values are read. If a port 1
read is performed while the P1DDR bits are
cleared to 0, the pin states are read.
Rev. 2.00 Mar 21, 2006 page 95 of 518
Section 7 I/O Ports
REJ09B0299-0200

Related parts for H8S2110B