English
Language : 

SH7080_09 Datasheet, PDF (1253/1622 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH RISC engine Family
Section 22 I/O Ports
22.4.1 Register Descriptions
Port D is a 16-bit input/output port in the SH7083 and SH7084; a 32-bit input/output port in the
SH7085 and SH7086. Port D has the following registers. For details on register addresses and
register states during each processing, refer to section 27, List of Registers.
Table 22.7 Register Configuration
Register Name
Port D data register H
Port D data register L
Port D port register H
Port D port register L
Abbrevia-
tion
PDDRH
PDDRL
PDPRH
PDPRL
R/W
R/W
R/W
R
R
Initial Value Address
H'0000
H'FFFFD280
H'0000
H'FFFFD282
H'xxxx
H'FFFFD29C
H'xxxx
H'FFFFD29E
Access Size
8, 16, 32
8, 16
8, 16, 32
8, 16
22.4.2 Port D Data Registers H and L (PDDRH and PDDRL)
The port D data registers H and L (PDDRH and PDDRL) are 16-bit readable/writable registers
that store port D data. Bits PD15DR to PD0DR correspond to pins PD15 to PD0 (multiplexed
functions omitted here) in the SH7083 and SH7084. Bits PD31DR to PD0DR correspond to pins
PD31 to PD0 (multiplexed functions omitted here) in the SH7085 and SH7086.
When a pin function is general output, if a value is written to PDDRH or PDDRL, that value is
output directly from the pin, and if PDDRH or PDDRL is read, the register value is returned
directly regardless of the pin state.
When a pin function is general input, if PDDRH or PDDRL is read, the pin state, not the register
value, is returned directly. If a value is written to PDDRH or PDDRL, although that value is
written into PDDRH or PDDRL, it does not affect the pin state. Table 22.8 summarizes port D
data register read/write operations.
Rev. 4.00 Dec. 15, 2009 Page 1193 of 1558
REJ09B0181-0400