English
Language : 

SH7080_09 Datasheet, PDF (1226/1622 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH RISC engine Family
Section 22 I/O Ports
22.1.1 Register Descriptions
Port A is an 11-bit input/output port in the SH7083; an 18-bit input/output port in the SH7084; a
26-bit input/output port in the SH7085; a 30-bit input/output port in the SH7086. Port A has the
following registers. For details on register addresses and register states during each processing,
refer to section 27, List of Registers.
Table 22.1 Register Configuration
Register Name
Port A data register H
Port A data register L
Port A port register H
Port A port register L
Abbrevia-
tion
R/W Initial Value Address
Access Size
PADRH
R/W H'0000
H'FFFFD100 8, 16, 32
PADRL
R/W H'0000
H'FFFFD102 8, 16
PAPRH
R
⎯
H'FFFFD11C 8, 16, 32
PAPRL
R
⎯
H'FFFFD11E 8 16
22.1.2 Port A Data Registers H and L (PADRH and PADRL)
The port A data registers H and L (PADRH and PADRL) are 16-bit readable/writable registers
that store port A data. Bits PA15DR to PA12DR, PA10DR to PA7DR, and PA5DR to PA3DR
correspond to pins PA15 to PA12, PA10 to PA7, and PA5 to PA3, respectively (multiplexed
functions omitted here) in the SH7083. Bits PA17DR to PA0DR correspond to pins PA17 to PA0
(multiplexed functions omitted here) in the SH7084. Bits PA25DR to PA0DR correspond to pins
PA25 to PA0 (multiplexed functions omitted here) in the SH7085. Bits PA29DR to PA0DR
correspond to pins PA29 to PA0 (multiplexed functions omitted here) in the SH7086.
When a pin function is general output, if a value is written to PADRH or PADRL, that value is
output directly from the pin, and if PADRH or PADRL is read, the register value is returned
directly regardless of the pin state.
When a pin function is general input, if PADRH or PADRL is read, the pin state, not the register
value, is returned directly. If a value is written to PADRH or PADRL, although that value is
written into PADRH or PADRL, it does not affect the pin state. Table 22.2 summarizes port A
data register read/write operations.
Rev. 4.00 Dec. 15, 2009 Page 1166 of 1558
REJ09B0181-0400