h8s-2646 Renesas Electronics Corporation., h8s-2646 Datasheet - Page 304

no-image

h8s-2646

Manufacturer Part Number
h8s-2646
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 9 I/O Ports
Port D Register (PORTD)
Note: * Determined by state of pins PD7 to PD0.
PORTD is an 8-bit read-only register that shows the pin states. It cannot be written to. Writing of
output data for the port D pins (PD7 to PD0) must always be performed on PDDR.
If a port D read is performed while PDDDR bits are set to 1, the PDDR values are read. If a port D
read is performed while PDDDR bits are cleared to 0, the pin states are read.
After a reset and in hardware standby mode, PORTD contents are determined by the pin states, as
PDDDR and PDDR are initialized. PORTD retains its prior state in software standby mode.
Port D MOS Pull-Up Control Register (PDPCR)
PDPCR is an 8-bit readable/writable register that controls the MOS input pull-up function
incorporated into port D on an individual bit basis.
In mode 7, if a pin is in the input state in accordance with the settings in PDDDR and LPCR,
setting the corresponding PDPCR bit to 1 turns on the MOS input pull-up for that pin.
PDPCR is initialized to H'00 by a reset, and in hardware standby mode. It retains its prior state in
software standby mode.
Rev. 5.00 Sep 22, 2005 page 278 of 1136
REJ09B0257-0500
Bit
Initial value :
R/W
Bit
Initial value :
R/W
:
:
:
:
PD7PCR PD6PCR PD5PCR PD4PCR PD3PCR PD2PCR PD1PCR PD0PCR
PD7
R/W
— *
R
7
7
0
PD6
R/W
— *
R
6
6
0
PD5
R/W
— *
R
5
5
0
PD4
R/W
— *
R
4
4
0
PD3
R/W
— *
R
3
3
0
PD2
R/W
— *
R
2
2
0
PD1
R/W
— *
R
1
1
0
PD0
R/W
— *
R
0
0
0

Related parts for h8s-2646