English
Language : 

SH7137 Datasheet, PDF (897/1160 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperH™ RISC engine Family
Section 21 I/O Ports
21.4.1 Register Descriptions
Port E is a 22-bit input/output port. Port E has the following registers. For details on register
addresses and register states during each processing, refer to section 25, List of Registers.
Table 21.7 Register Configuration
Register Name
Port E data register H
Port E data register L
Port E port register H
Port E port register L
Abbrevia-
tion
R/W Initial Value Address
Access Size
PEDRH
R/W H'0000
H'FFFFD300 8, 16, 32
PEDRL
R/W H'0000
H'FFFFD302 8, 16
PEPRH
R
H'00xx
H'FFFFD31C 8, 16, 32
PEPRL
R
H'xxxx
H'FFFFD31E 8, 16
21.4.2 Port E Data Registers H and L (PEDRH and PEDRL)
The port E data registers H and L (PEDRH and PEDRL) are 16-bit readable/writable registers that
store port E data. Bits PE21DR to PE0DR correspond to pins PE21 to PE0, respectively
(multiplexed functions omitted here).
When a pin function is general output, if a value is written to PEDRH or PEDRL, that value is
output directly from the pin, and if PEDRH or PEDRL is read, the register value is returned
directly regardless of the pin state.
When a pin function is general input, if PEDRH or PEDRL is read, the pin state, not the register
value, is returned directly. If a value is written to PEDRH or PEDRL, although that value is
written into PEDRH or PEDRL, it does not affect the pin state. Table 21.8 summarizes port E data
register read/write operations.
Rev. 2.00 Sep. 10, 2008 Page 871 of 1130
REJ09B0402-0200