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

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.4
Port 3 is an 8-bit I/O port. Port 3 pins also function as LPC input/output pins. Port 3 has the
following registers.
7.4.1
P3DDR specifies input or output for the pins of port 3 on a bit-by-bit basis.
7.4.2
P3DR stores output data of port 3.
Bit
7
6
5
4
3
2
1
0
Bit
7
6
5
4
3
2
1
0
Port 3 data direction register (P3DDR)
Port 3 data register (P3DR)
Port 3 pull-up MOS control register (P3PCR)
Bit Name
P37DDR
P36DDR
P35DDR
P34DDR
P33DDR
P32DDR
P31DDR
P30DDR
Bit Name
P37DR
P36DR
P35DR
P34DR
P33DR
P32DR
P31DR
P30DR
Port 3
Port 3 Data Direction Register (P3DDR)
Port 3 Data Register (P3DR)
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 3 pins are output ports
when P3DDR bits are set to 1, and input ports
when P3DDR bits are cleared to 0.
Description
If a port 3 read is performed while P3DDR bits are
set to 1, the P3DR values are read directly,
regardless of the actual pin states. If a port 3 read
is performed while P3DDR bits are cleared to 0,
the pin states are read.
Rev. 2.00 Mar 21, 2006 page 99 of 518
Section 7 I/O Ports
REJ09B0299-0200

Related parts for H8S2110B